Package Installation
NPM (Node.js):
Install Elide globally via NPM:
bash
npm install -g @elide-dev/elideOr add it as a project dependency:
bash
The correct platform-specific binary is automatically selected based on your OS and architecture. Supported platforms:
npm install --save-dev @elide-dev/elide| OS | Architecture | Package |
|---|---|---|
| Linux | x64 | @elide-dev/elide-linux-x64 |
| Linux | arm64 | @elide-dev/elide-linux-arm64 |
| macOS | arm64 (Apple Silicon) | @elide-dev/elide-darwin-arm64 |
| macOS | x64 (Intel) | @elide-dev/elide-darwin-x64 |
| Windows | x64 | @elide-dev/elide-win32-x64 |
ELIDE_BINARY_PATH environment variable.
Debian / Ubuntu (apt):
First get the Elide gpg key:
bash
curl -fsSL https://keys.elide.dev/gpg.key | sudo gpg --dearmor -o /usr/share/keyrings/elide.gpgThen set up the repository for amd64 architecture:
bash
echo "deb [arch=amd64 signed-by=/usr/share/keyrings/elide.gpg] https://dl.elide.dev nightly main" \
| sudo tee /etc/apt/sources.list.d/elide.listOr for arm64/aarch64:
bash
echo "deb [arch=arm64 signed-by=/usr/share/keyrings/elide.gpg] https://dl.elide.dev nightly main" \
| sudo tee /etc/apt/sources.list.d/elide.listFinally, install Elide with apt:
bash
sudo apt update && sudo apt install elide