Note that the following instructions assume a fairly "normal" file system. You may need to adjust some of the paths here to match your system.
-
Open the latest release page on Github
-
Download the
.tar.gzfile that matches your system architecture -
Extract the
.tar.gzfileBefore you run this, be sure to replace
{version}&{system}to match the file you downloaded.tar xvzf alt_{version}_{system}.tar.gz cd alt_{version}_{system} -
Install the
altbinarysudo cp bin/alt /usr/local/bin/alt
-
Install the
PATHconfiguration scriptssudo cp etc/profile.d/alt.sh /etc/profile.d/alt.sh # (Optional) if you use fish sudo cp etc/fish/conf.d/alt.fish /etc/fish/conf.d/alt.fish -
(Optional) Install the completions
# If you use BASH sudo cp completion/alt.bash /etc/bash_completion.d/alt.bash # If you use ZSH sudo cp completion/_alt /usr/share/zsh/site-functions/_alt # If you use FISH sudo cp completion/alt.fish /etc/fish/completions/alt.fish
-
(Optional) Install man pages
sudo mkdir -p /usr/local/share/man/man1 sudo cp man/* /usr/local/share/man/man1/
You will probably need to log out & log back in to your desktop session so that
the PATH configuration scripts you installed will load.