Closed akash1810 closed 2 years ago
Have you seen/considered asdf?
asdf is a CLI tool that can manage multiple language runtime versions on a per-project basis. It is like gvm, nvm, rbenv, pyenv and tfswitch all in one. It auto switches when changing directories and supports existing config files 💛
brew install asdf
asdf plugin add nodejs
asdf install nodejs latest
asdf global nodejs latest
fnm
is an alternative tonvm
. It's benefits overnvm
include:--use-on-cd
)fnm
's API is largely the same asnvm
's, so to save muscle memory, we could create an alias. But you should never even need to typefnm
as auto switching works so well!