DEV Community

Cover image for Install fish shell on Ubuntu-22.04

Install fish shell on Ubuntu-22.04

IQIUM on August 01, 2022

What is fish? Fish shell is a terminal shell. It has many features to help developers improve coding and skills. How to install? First Step:...
Collapse
 
foxeyerinx profile image
Rinx

on my "Ubuntu 22.04.2 LTS", got this error :
chsh: PAM authentication failed

To fix:

  • Run nano /usr/bin/fish
  • Change root:x:0:0:root:/root:/usr/local/bin/fish to root:x:0:0:root:/root:/usr/bin/fish
  • Run sudo chsh -s $(which zsh) $(whoami)