Linux - Installing Fish Shell on Ubuntu

Add the fish repository to your system and install it :


sudo apt-add-repository ppa:fish-shell/release-3 && sudo apt update ; sudo apt install fish

Now list the installed shells and make sure that fish is listed :

tiago@linux-desktop:~$ cat /etc/shells
# /etc/shells: valid login shells
/bin/sh
/bin/bash
/usr/bin/bash
/bin/rbash
/usr/bin/rbash
/usr/bin/sh
/bin/dash
/usr/bin/dash
/usr/bin/fish

Issue the following command to change you shell to fish :

tiago@linux-desktop:~$ sudo chsh -s /usr/bin/fish
chsh did not work on my linux distro and I had to add /usr/bin/fish as the last line in my .bashrc file.

Share Tweet Send
0 Comments
Loading...
You've successfully subscribed to Infoitech - [B]logging
Great! Next, complete checkout for full access to Infoitech - [B]logging
Welcome back! You've successfully signed in
Success! Your account is fully activated, you now have access to all content.