Alternatives to nvm?

corysimmons picture corysimmons · Nov 27, 2017 · Viewed 7.9k times · Source

I really just need something I can check into version control to declare a Node version, and swap out the Node version in someone's shell while they're in that directory.

.nvmrc is supposed to do this but there's no official support for Fish and workarounds are junk.

This doesn't seem terribly complicated. Is there anything new/hawt to replace nvm?

Answer

corysimmons picture corysimmons · Nov 27, 2017

I use Fish shell, so https://github.com/fisherman/fnm is really nice. In lieu of all those features, https://github.com/tj/n is simple and works everywhere.