Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Change default shell in macOS (since Catalina)
#one line command to set the default shell to e.g fish (installed via brew)
sudo dscl localhost -change /Local/Default/Users/USERNAME UserShell /bin/bash /usr/local/bin/fish
#on many pages you can read that you should add your custom shell path like /path/to/custom/shell to /etc/shells
#then run:
# chsh -s /path/to/custom/shell
#or people try to convince you changing the default shell in your terminal app
#or changing your login shell in System > Preferences > Users & Groups
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.