fish Shell doesn't recognize the node command as well as zsh too.
But the bash does, So How Can I Share Environment Path between all of the Shells
elementary OS Stack Exchange is a question and answer site for developers and users of elementary OS and applications. It only takes a minute to sign up.Sign up to join this community
These shells do not use the same configuration files. Normally the
PATH environment variable is set in
~/.profile which are files read by
dash) but by neither of
But you can manually execute your profile files (this sets PATH and does other things as well)
For fish you can use the script provided here: https://superuser.com/a/447777
For zsh create a
~/.zprofilefile with the following contents (and put anything else in
emulate sh -c '. ~/.profile'