command not found when using nvm in fish shell
Mia Lopez
How can I run and use nvm inside a fish shell? I was previously using bash and switched to fish shell and now I'm unable to use nvm. most of the wrappers are not maintained. what other alternatives exist?
21 Answer
The nvm README mentions that it does not support fish shell.:
Note: nvm does not support Fish either (see #303). Alternatives exist, which are neither supported nor developed by us:
bass allows you to use utilities written for Bash in fish shell
fast-nvm-fish only works with version numbers (not aliases) but doesn't significantly slow your shell startup
plugin-nvm plugin for Oh My Fish, which makes nvm and its completions available in fish shell
fnm - fisherman-based version manager for fish
I'm using fnm at the moment and it seems to be working fine.
1