Skip to content

Instantly share code, notes, and snippets.

@pluscubed
Created August 17, 2019 04:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pluscubed/55e918ec7d9589630ed2e213305e1d1c to your computer and use it in GitHub Desktop.
Save pluscubed/55e918ec7d9589630ed2e213305e1d1c to your computer and use it in GitHub Desktop.
fish install without root
# Bash script for installing Fish Shell on systems without root access
# Fish Shell will be installed in $HOME/local/bin
# It's assumed that wget and a C/C++ compiler are installed
set -e # exit on error
FISH_VER=3.0.2
mkdir -p $HOME/local $HOME/fish_shell_tmp # create our directories
cd $HOME/fish_shell_tmp
wget http://github.com/fish-shell/fish-shell/releases/download/${FISH_VER}/fish-${FISH_VER}.tar.gz # download source files for Fish Shell
# extract files, configure, and compile
tar xvzf fish-${FISH_VER}.tar.gz
cd fish-${FISH_VER}
./configure --prefix=$HOME/local --disable-shared
make
make install
rm -rf $HOME/fish_shell_tmp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment