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).
Note: The latest release 0.9 has some known issues that will leave the daemon process running after you quit all Elvish instances. If that is a trouble, just
killall elvish after quitting. A fix will be in the next release.
RPM Package for Fedora is available in FZUG Repo.
# Add FZUG repo
dnf config-manager --add-repo=http://repo.fdzh.org/FZUG/FZUG.repo
# Install Elvish
dnf install elvish
Debian and its derivatives can install Elvish from PPA.
# Add Elvish PPA repo
sudo wget -O /etc/apt/trusted.gpg.d/elvish \
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
(Note that because Elvish does not support line continuation yet, you need to join the first two lines and remove the backslash if you want to run the script above from Elvish; however, this script works with bash and zsh.)
Users of Homebrew can build Elvish with:
# Remove --HEAD for latest release
brew install --HEAD elvish