Prebuilt binaries for Elvish are available for Linux and macOS on x86-64 CPUs. The binaries are statically linked and don’t have any runtime dependencies. If you have other OS/CPU combinations, you may build Elvish from source.

The download links might be too slow for users in China. Try using the mirror if that happens.

Please beware that Elvish does not have a 1.0 release yet. Before that, the shell can be buggy, and might change dramatically from release to release. However, the primary developer does use the HEAD version of Elvish on all his personal and work computers, so most functions should work properly (and are fixed quickly when they don’t).

Version Linux macOS
HEAD elvish-linux.tar.gz elvish-darwin.tar.gz
0.10 (Release Note) elvish-linux-0.10.tar.gz elvish-osx-0.10.tar.gz
0.9 (Release Note) elvish-linux-0.9.tar.gz elvish-osx-0.9.tar.gz
0.8 (Release Note) elvish-linux-0.8.tar.gz elvish-osx-0.8.tar.gz
0.7 (Release Note) elvish-linux-0.7.tar.gz elvish-osx-0.7.tar.gz
0.6 (Release Note) elvish-linux-0.6.tar.gz elvish-osx-0.6.tar.gz
0.5 (Release Note) elvish-linux-0.5.tar.gz elvish-osx-0.5.tar.gz
0.4 elvish-linux-0.4.tar.gz elvish-osx-0.4.tar.gz
0.3 elvish-linux-0.3.tar.gz elvish-osx-0.3.tar.gz
0.2 elvish-linux-0.2.tar.gz elvish-osx-0.2.tar.gz
0.1 elvish-linux-0.1.tar.gz elvish-osx-0.1.tar.gz

OS-Specific Packages

RPM Package

RPM Package for Fedora is available in FZUG Repo.

Instructions:

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

DEB Package

Users of Ubuntu(>= 17.10) and Debian(>= 10) can install Elvish from official repository. You can just run sudo apt install elvish to install. (Note: This is likely to not give you the latest version.)

If you want to keep updated to the latest version, or are using older distributions or other derivatives, you can always install 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

(This is a script for bash or zsh. If you are running from Elvish, replace the trailing backslash \ with a backquote `.)

Homebrew Package

Users of Homebrew can build Elvish with:

# Remove --HEAD for latest release
brew install --HEAD elvish