Skip to content

Latest commit

 

History

History
53 lines (39 loc) · 1.47 KB

File metadata and controls

53 lines (39 loc) · 1.47 KB

Install Pre-packaged Binaries

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.

  1. Open the latest release page on Github

  2. Download the .tar.gz file that matches your system architecture

  3. Extract the .tar.gz file

    Before 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}
  4. Install the alt binary

    sudo cp bin/alt /usr/local/bin/alt
  5. Install the PATH configuration scripts

    sudo 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
  6. (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
  7. (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.