Prebuilt binaries for Elvish are available for some common platforms. The binaries are statically linked and don’t have any runtime dependencies. If your platform is not listed, 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).
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
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 \
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
Users of Homebrew can build Elvish with:
# Remove --HEAD for latest release
brew install --HEAD elvish