How to Install and Configure Fish Shell in Ubuntu?

Fish Shell is a unique user-friendly command-line shell for the different operating systems. fish includes some smart features like syntax highlighting, fancy tab completions and autosuggest-as-we-type that just works by default with no configuration required. fish is mostly written in shell script and in C++.

Step 1: Install fish repository in ubuntu

$ sudo apt-add-repository ppa:fish-shell/release-3 

Step 2: Update and upgrade repository

$ sudo apt-get update && sudo apt-get upgrade

Step 3: Install fish shell

$ sudo apt-get install fish

Step 4: Make fish shell as default shell

$ sudo chsh -s /usr/local/bin/fish

To get back to bash, use

$ sudo chsh -s 'which bash'

My Personal Notes arrow_drop_up

A 3rd-year Computer Science and Engineering undergraduate student at IERT, Allahabad with an interest in Programming, Data Science/AI and web development

If you like GeeksforGeeks and would like to contribute, you can also write an article using or mail your article to See your article appearing on the GeeksforGeeks main page and help other Geeks.

Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.

Article Tags :

Be the First to upvote.

Please write to us at to report any issue with the above content.