Skip to content

Installation

Install Elide on macOS, Linux, WSL or Windows with the install script, PowerShell or a package manager, pick a release channel, and add Python.

On this page

Elide has two channels: release (versions such as 1.6.0) and nightly (daily builds). The install scripts default to release.

macOS, Linux, or WSL

curl -sSL --tlsv1.2 elide.sh | bash

Installs under ${ELIDE_HOME:-${XDG_DATA_HOME:-$HOME/.local/share}/elide} and adds bin to your shell profile. Pass options after bash -s --:

curl -sSL --tlsv1.2 elide.sh | bash -s -- --channel=nightly --with-python
OptionEffect
--channel=release or --channel=nightlySelect the channel (default release).
--install-rev=VERSIONInstall a specific version.
--install-dir=PATHInstall somewhere else.
--with-pythonAlso install the Python component.
--libc=glibc or --libc=muslPick the Linux amd64 build (default: detected, see System requirements).
--no-pathLeave shell profiles unchanged.
--helpList every option without installing.

Windows

& ([scriptblock]::Create((irm https://elide.sh/install.ps1)))

Installs under $env:ELIDE_HOME, or $env:LOCALAPPDATA\elide when that is unset. Options: -Channel, -InstallRev, -InstallDir, -WithPython, and -NoPath.

Python

Python is an optional component:

elide setup python
Install methodPython
Install script--with-python (-WithPython on Windows), or elide setup python later
HomebrewIncluded
Container imagesIncluded
apt, RPM, MSI, macOS installersNot available; use one of the methods above

elide setup python uses the binary’s own channel; --channel=release or --channel=nightly overrides it.

Other methods

Update a script install with elide upgrade, and a package-manager install through its manager.

Verify the install

elide --version
elide info
0:03 / 0:03

elide info lists the available languages, including python when it is installed. If the shell cannot find elide, open a new terminal or add the install’s bin folder to PATH.

System requirements

PlatformArchitectureMinimumPython component
Linuxamd64glibc 2.17, kernel 4.18Yes
Linux, static musl buildamd64kernel 4.18No
Linuxarm64glibc 2.17, kernel 4.18Yes
macOSApple Silicon (arm64)macOS 11Yes
Windowsamd64—Yes
  • glibc 2.17 covers RHEL and CentOS 7, Amazon Linux 2, Ubuntu 14.04, Debian 8 and later; the kernel must also be 4.18 or newer.
  • The static musl build (elide.linux-amd64-musl.* on GitHub Releases) runs on any amd64 Linux, including Alpine. It runs JavaScript, TypeScript and WebAssembly, and compiles Java and Kotlin; it includes no Python and no JDK, so elide java runs programs on an installed JDK (JAVA_HOME or java on PATH), and elide native-image needs an installed native-image. The install script picks it on musl hosts; --libc=glibc or --libc=musl overrides the choice.
  • On arm64, musl is not supported (exec elide: no such file or directory); use a container image there.
  • Intel Macs are not supported.

Check your glibc with:

ldd --version | head -1

Was this page helpful?