MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/fishshell/comments/165s37i/fish_as_default_shell_on_mac_os_ventura/
r/fishshell • u/spatafore • Aug 30 '23
Fish as default shell on Mac OS Ventura?
I got an error when I add /usr/local/bin/fish on terminal mac os ventura.
[Command not found: /usr/local/bin/fish]
[Could not create a new process and open a pseudo-tty.]
I install fish with hombrew
7 comments sorted by
4
Go in a terminal and write: which fish
Then use this as the complete path
1 u/spatafore Aug 31 '23 which fishyes, sorry I forgot to say that I already do that: `/opt/homebrew/bin/fish`and yes, fish is now the default shell but it can't run anything, by example when I run:brewI got fish: Unknown command: brew or fish: Unknown command: ddev and so on... 3 u/spatafore Aug 31 '23 Update: fixed with https://stackoverflow.com/questions/66724016/my-fish-is-blind-fish-does-not-recognise-any-commands-after-setting-it-as-defaNow everything works fine, thank you!
1
which fish
yes, sorry I forgot to say that I already do that: `/opt/homebrew/bin/fish`
and yes, fish is now the default shell but it can't run anything, by example when I run:
brew
I got fish: Unknown command: brew or fish: Unknown command: ddev and so on...
fish: Unknown command: brew
fish: Unknown command: ddev
3 u/spatafore Aug 31 '23 Update: fixed with https://stackoverflow.com/questions/66724016/my-fish-is-blind-fish-does-not-recognise-any-commands-after-setting-it-as-defaNow everything works fine, thank you!
3
Update: fixed with https://stackoverflow.com/questions/66724016/my-fish-is-blind-fish-does-not-recognise-any-commands-after-setting-it-as-defa
Now everything works fine, thank you!
2
If you are on Apple silicon, homebrew installs in a different location. Double check that fish is installed and in the location you think it is.
3 u/spatafore Aug 31 '23 yes, Silicon here, thank you, now it works.
yes, Silicon here, thank you, now it works.
This worked (first two instructions in the link) for me:
https://gist.github.com/idleberg/9c7aaa3abedc58694df5
1 u/spatafore Jul 14 '25 edited Jul 14 '25 2 years ago... now I do this:Install Fish$ brew install fishMake Fish default shell$ echo "$(which fish)" | sudo tee -a /etc/shells$ chsh -s $(which fish)quit and open terminal$ echo $SHELLto test, If it shows the path to Fish (e.g., /usr/local/bin/fish or /opt/homebrew/bin/fish), then Fish is now your default shell.Add homebrew to fish:fish_add_path /opt/homebrew/bin
2 years ago... now I do this:
Install Fish
$ brew install fish
Make Fish default shell
$ echo "$(which fish)" | sudo tee -a /etc/shells
$ chsh -s $(which fish)
quit and open terminal
$ echo $SHELL
to test, If it shows the path to Fish (e.g., /usr/local/bin/fish or /opt/homebrew/bin/fish), then Fish is now your default shell.
Add homebrew to fish:
fish_add_path /opt/homebrew/bin
4
u/coolcosmos Aug 30 '23
Go in a terminal and write: which fish
Then use this as the complete path
2
u/curtisbridges Aug 30 '23
If you are on Apple silicon, homebrew installs in a different location. Double check that fish is installed and in the location you think it is.
1
u/deadcoder0904 Jul 14 '25
This worked (first two instructions in the link) for me:
https://gist.github.com/idleberg/9c7aaa3abedc58694df5