How to install Fish Shell on Debian 10 Buster

echo 'deb /' | sudo tee -a /etc/apt/sources.list
wget -q -O - | sudo apt-key add -
sudo apt update
sudo apt install fish

Then to make fish default for root and my user, I do:

chsh --shell $(which fish)
sudo chsh --shell $(which fish)

And I logout and login again.

The option -O - in wget means that it will directly print content of file rather than save it. And -q (quiet mode) means that it won’t print loading bar for the download.

Because the repository of fish is in HTTP, it is not necessary to install the apt-transport-https package.



Math and programming online tutor -

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store