Prebuilt, statically linked binaries for some common platforms are provided below. If your environment is not listed above, you may still be able to build Elvish from source. For users in China, the mirror hosted by TUNA may be faster.

Note that Elvish is pre-release software. It can be unstable, and does not maintain backward compatibility from version to version.

Version x86-64 x86 ARMv8
HEAD Linux macOS FreeBSD NetBSD OpenBSD Windows Linux Windows Linux
0.12 (Release Note) Linux macOS Windows Linux Windows Linux

OS-Specific Packages

Arch Linux

Elvish PKGBUILDs are available in AUR. Install elvish (latest version) or elvish-git (HEAD) using your favorite AUR helper.

Alternatively, prebuilt packages can be obtained from Arch Linux CN repository:

# Add archlinuxcn repository
printf "[archlinuxcn]\nServer = http://repo.archlinuxcn.org/$arch" | sudo tee -a /etc/pacman.conf
# Install keyring
pacman -Sy archlinuxcn-keyring
pacman -S elvish

Fedora

RPM packages are available from the FZUG Repo:

# Add FZUG repo
dnf config-manager --add-repo=http://repo.fdzh.org/FZUG/FZUG.repo
# Install Elvish
dnf install elvish

Debian / Ubuntu

Elvish is packaged by Debian since buster and by Ubuntu since 17.10.

However, packages in official repositories are likely outdated. You can install the latest release from PPA:

# Add Elvish PPA repo
sudo wget -O /etc/apt/trusted.gpg.d/elvish \
'https://sks-keyservers.net/pks/lookup?search=0xE9EA75D542E35A20&options=mr&op=get'
sudo gpg --dearmor /etc/apt/trusted.gpg.d/elvish
sudo rm /etc/apt/trusted.gpg.d/elvish
echo 'deb http://ppa.launchpad.net/zhsj/elvish/ubuntu xenial main' |
sudo tee /etc/apt/sources.list.d/elvish.list
sudo apt-get update

# Install Elvish
sudo apt-get install elvish

macOS (Homebrew)

Elvish is packaged in Homebrew:

# Install latest release
brew install elvish
# Or install HEAD:
brew install --HEAD elvish

OpenBSD

Elvish is available in the official OpenBSD package repository. This will install the latest release:

doas pkg_add elvish

NixOS (nix)

Elvish is packaged in nixpkgs:

# Install latest release
nix-env -i elvish

Old versions

The following old versions are no longer supported. They are only listed here for historical interest.

Version x86-64 x86 ARMv8
0.11 (Release Note) Linux macOS Windows Linux Windows Linux
Versions before 0.11 do not build on Windows
0.10 (Release Note) Linux macOS Linux Linux
Versions before 0.10 require cgo
0.9 (Release Note) Linux macOS N/A N/A
0.8 (Release Note) Linux macOS N/A N/A
0.7 (Release Note) Linux macOS N/A N/A
0.6 (Release Note) Linux macOS N/A N/A
0.5 (Release Note) Linux macOS N/A N/A
0.4 Linux macOS N/A N/A
Versions before 0.4 do not use vendoring and cannot be reproduced
0.3 Linux macOS N/A N/A
0.2 Linux macOS N/A N/A
0.1 Linux macOS N/A N/A