nodenv
6.1#11 in runtime version managersFree planFree planLinuxmacOS
Visit| Fact | nodenv | nvm |
|---|---|---|
| Automatic switching | It checks a project’s .node-version file and switches Node.js versions as you move between project directories. | Automatic directory switching is documented as user-added bash or zsh hooks rather than built into the core command. |
| License | The repository identifies the project as MIT licensed. | nvm is distributed under the MIT License, permitting use, modification, distribution and sale subject to retaining notices. |
| Purpose | nodenv manages Node.js versions so projects can use the correct version on the same machine. | nvm lets users install and use different Node.js versions from the command line. |
| Security | The repository links to a security policy, but the opened README does not state a security certification or compliance standard. | The GitHub repository links to a security policy, but the README does not state a security certification or compliance standard. |
| Shell support | The project provides completion scripts for Bash, Zsh, and Fish and documents shell initialization for these shells. | It works on POSIX-compliant shells including sh, dash, ksh, zsh, and bash. |
| Support | The project directs users to file bugs in its GitHub issue tracker and submit pull requests. | The project states that only the latest nvm version is supported. |
nodenv suits people developing Node.js applications who need to switch versions across projects on one machine. It supports project version pinning and shell integration on Linux and macOS.
nvm suits developers who need to manage Node.js versions from the command line, including per-project version selection and CI/CD use. It is intended for per-user, per-shell installation.