17 C
Texas
angeloma
Senior Writer and partner

How to install Fish Shell on Ubuntu 20.04

Hello, friends. In this post, you will learn how to install Fish Shell on Ubuntu 20.04. And not only that but you will learn how to get the latest stable version.

The best definition of what Fish Shell is is provided by the project website.

Fish is a smart and user-friendly command-line shell for Linux, macOS, and the rest of the family.

Some of the main features of Fish are

  • Autosuggestions
  • Fully scriptable.
  • its syntax is simple, clean, and consistent.

This shell we will only have to install it to start using it in a short time. Forget about complicated configurations and installing add-ons or extra plugins.

Install the latest version of Fish Shell on Ubuntu 20.04

- Advertisement -

Installing the latest version of Fish Shell guarantees us to use a modern version, with many bugs fixed but above all, with important new features for us to take advantage of.

So whenever we can, we should always get the latest stable version.

So, to do this, open a terminal and make sure that Ubuntu is fully up to date

sudo apt update
sudo apt upgrade

Now proceed to add the Fish repository for Ubuntu

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

Next, refresh APT so that the repository is already part of the system

sudo apt update

And proceed to install Fish by running

sudo apt install fish

Now just open a terminal and run

fish

Making Fish the default shell

If you install Fish it is because you want to use it and the best way to do that is to set Fish as the default shell.

To do this just run

chsh -s /usr/bin/fish

If you want to revert the change, you can do it as follows:

chsh -s /bin/bash

So, enjoy it.

Conclusion

Fish shell is a valid alternative to Bash as far as shell is concerned. Fast and handy it can help us with our daily terminal tasks. Now you know how to install it without any problems.

- Advertisement -
Everything Linux, A.I, IT News, DataOps, Open Source and more delivered right to you.
Subscribe
"The best Linux newsletter on the web"

LEAVE A REPLY

Please enter your comment!
Please enter your name here



Latest article