In this article, we cover how to install fish shell in Ubuntu 22.04 release. A shell is basically an interpreter which help us interact with our OS (i.e. Operating System). There are different types of shell. fish, friendly interactive shell, is pretty easy to install in Ubuntu 22.04.
Since, its different from other shells. Therefore, we would also cover – how to use it later through help.
Note: Following operations require superuser privileges. In case you don’t have one then, we advise you to contact your System Administrator for assistance.
Install fish shell in Ubuntu 22.04
The package is already available through standard Ubuntu repository. Therefore, update the repository first. This ensures we get to have the latest version of the package. Hence, open a terminal and issue the following –
sudo apt update
Next, to install fish shell –
sudo apt install fish
To verify the installation –
Use fish shell in Ubuntu 22.04
Once the package is installed, issue the following command in the terminal –
To exit the fish shell –
At the launch, it would open the fish shell for us. It asks us to type – help – for instructions. The moment you enter – he – it would suggest help. If you are okay with it then, press the right arrow key to autocomplete. And, Enter to view the help pages. Therein, on the left hand navigation pane – open Commands . It would show us a list of available commands available through fish shell.
It won’t be possible for us to cover everything in detail in this article. Just go through the list and the command which you would like to use. We will try to cover these in subsequent articles.
In conclusion, we have covered how to install fish shell in Ubuntu 22.04 release through standard Ubuntu repository.