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 | bashInstalls 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| Option | Effect |
|---|---|
--channel=release or --channel=nightly | Select the channel (default release). |
--install-rev=VERSION | Install a specific version. |
--install-dir=PATH | Install somewhere else. |
--with-python | Also install the Python component. |
--libc=glibc or --libc=musl | Pick the Linux amd64 build (default: detected, see System requirements). |
--no-path | Leave shell profiles unchanged. |
--help | List 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 method | Python |
|---|---|
| Install script | --with-python (-WithPython on Windows), or elide setup python later |
| Homebrew | Included |
| Container images | Included |
| apt, RPM, MSI, macOS installers | Not 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
- Packages & Installers: Homebrew, apt, RPM, macOS and Windows installers
- Container Images
- Continuous Integration
- GitHub Releases: archives, checksums, and older builds. Keep an
archive’s
bin/andlib/together;bin/elideneedslib/.
Update a script install with elide upgrade, and a package-manager install through its manager.
Verify the install
elide --version
elide infoelide 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
| Platform | Architecture | Minimum | Python component |
|---|---|---|---|
| Linux | amd64 | glibc 2.17, kernel 4.18 | Yes |
| Linux, static musl build | amd64 | kernel 4.18 | No |
| Linux | arm64 | glibc 2.17, kernel 4.18 | Yes |
| macOS | Apple Silicon (arm64) | macOS 11 | Yes |
| Windows | amd64 | — | 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 anyamd64Linux, including Alpine. It runs JavaScript, TypeScript and WebAssembly, and compiles Java and Kotlin; it includes no Python and no JDK, soelide javaruns programs on an installed JDK (JAVA_HOMEorjavaonPATH), andelide native-imageneeds an installednative-image. The install script picks it on musl hosts;--libc=glibcor--libc=musloverrides 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