Here’s a quick run through of how to change your default login shell which assumes you understand the basics of the command-line on Unix-like systems. These instructions are exemplified on an Ubuntu 20.04 system for the fish shell but this works just the same for any shell on *BSD, Linux, and macOS.
Install the fish package.
➜ sudo apt install -y fish
This debian package installs the
Register fish as a valid login shell by adding its file path to the
➜ echo /usr/bin/fish | sudo tee -a /etc/shells /usr/bin/fish
Set the default login shell of the current user to fish.
➜ chsh -s /usr/bin/fish Password:
Nice and simple, right? It should be a piece of cake to change your login shell now.