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

Choose the installer for your operating system. The scripts install the latest release by default; pass --channel=nightly for daily builds. Check system requirements before installing.

Already installed? Run your first program.

For Python, use the install script with --with-python, Homebrew, or a container. The package installers do not include Python; see Python.

macOS, Linux, or WSL

Terminal
bash
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 --:

Terminal
bash
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

Run this in PowerShell. For WSL, use the Linux command inside your WSL terminal.

Terminal
powershell
& ([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:

Terminal
bash
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

Terminal
bash
elide --version
elide info
Verifying an Elide installation from the command line
  ██╔════╝██║     ██║██╔══██╗██╔════╝
  █████╗  ██║     ██║██║  ██║█████╗
  ██╔══╝  ██║     ██║██║  ██║██╔══╝
  ███████╗███████╗██║██████╔╝███████╗
  ╚══════╝╚══════╝╚═╝╚═════╝ ╚══════╝

  1.6.0
Elide - putting the java back in javascript
Version: 1.6.0+6e718933f
Mode: release
Channel: dev
Platform: linux-amd64
Languages: js, ts, wasm, pkl, python
Transport: HTTP=native/v2 server, netty/v2 client; Maven=netty/v2; family=v2; driver=epoll; HTTP fal
lback=none; active sockets=none
Security: HTTP=server Rustls, client Rustls; Maven=Rustls
Crypto: JCA SHA-256=AmazonCorrettoCryptoProvider; AES/GCM=AmazonCorrettoCryptoProvider; native=ffm-r
ust
GC: Serial
Locale: en-US 🇺🇸
 

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.

Next: run your first program in JavaScript or TypeScript, Python, or Java and Kotlin. If Python is missing, follow the component setup.

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:

Terminal
bash
ldd --version | head -1

Was this page helpful?