Package Installation

NPM (Node.js):

Install Elide globally via NPM:

bash
 npm install -g @elide-dev/elide

Or add it as a project dependency:

bash
 npm install --save-dev @elide-dev/elide
The correct platform-specific binary is automatically selected based on your OS and architecture. Supported platforms:
OSArchitecturePackage
Linuxx64@elide-dev/elide-linux-x64
Linuxarm64@elide-dev/elide-linux-arm64
macOSarm64 (Apple Silicon)@elide-dev/elide-darwin-arm64
macOSx64 (Intel)@elide-dev/elide-darwin-x64
Windowsx64@elide-dev/elide-win32-x64
You can override the binary path by setting the 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.gpg

Then 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.list

Or 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.list

Finally, install Elide with apt:

bash
 sudo apt update && sudo apt install elide