How to Install Fish Shell on Ubuntu

Fish is a helpful shell for Linux. It makes using the terminal easier, but it’s not like other shells you might be used to.

1. Install Fish Shell using the default repository

The easiest way to get Fish is by using a simple command:

sudo apt install fish

After it’s installed, you can check which version you have:

fish -v

To start using Fish, just type fish in the terminal.

fish

To stop using Fish and go back to your regular shell, type exit.

exit

2. Get the latest version of Fish Shell

If you want the newest version of Fish, you’ll need to use Fish’s PPA. First, add the PPA to your system:

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

Then, update your system:

sudo apt update

Once that’s done, install Fish with this command:

sudo apt install fish

Now, check the version again:

fish -v

Making Fish your default shell

Using Fish as your default shell might cause some issues with how certain things work. But if you still want to make it your default shell, here’s how:

Also Read:  How To Check Installed RAM On Ubuntu

Use the chsh command:

chsh -s /usr/bin/fish

After that, log out and log back in. You’ll see that Fish is now your default shell.

If you liked this article, please subscribe to our YouTube Channel. You can also stay connected with us on X (Twitter) and Facebook.



Leave a Reply