11/24/2024 Setup fish as default shell on macOS
fish
Install On whatever terminal you are, install fish
:
brew install fish
Note that, due to a brew --prefix
variation, the installation path will vary :
/opt/homebrew/bin/fish
on MacOS Silicon/usr/local/bin/fish
on MacOS Intel
which fish
/etc/shells
Update sudo sh -c 'echo /opt/homebrew/bin/fish >> /etc/shells'
Restart your terminal.
fish
your default shell with chsh
Make chsh -s /opt/homebrew/bin/fish
Restart your terminal.
$SHELL
Check ( After restarting your terminal )
echo $SHELL