nvm
7.4#1 in runtime version managersFree planFree planLinuxmacOSSelf-hostedWindows
Visit| Fact | nvm | PHPBrew |
|---|---|---|
| Integrations | Documented integrations include Docker, Ansible, zsh plugins, bash completion and optional nvshim shims. | Its library lookup prefixes include Homebrew, MacPorts, Debian, Ubuntu, or a custom path. |
| Purpose | nvm lets users install and use different Node.js versions from the command line. | PHPBrew builds and installs multiple PHP versions in a user's home directory. |
| Shell support | It works on POSIX-compliant shells including sh, dash, ksh, zsh, and bash. | The setup instructions cover bash, zsh, and fish shell configuration. |
| Version switching | nvm use changes the active Node version in the current shell. | It can temporarily use a PHP version or switch the default version, and integrates with bash and zsh. |
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.
You want what its maker publishes above — check its page for the details.