nvm
nvm copied to clipboard
Node Version Manager - POSIX-compliant bash script to manage multiple active node.js versions
Merges older contributors.md with newer standards. Let me know if anything needs reworking. I've removed the dev install instructions and linked to the readme as that includes all the tips...
#### Operating system and version: #### `nvm debug` output: ```sh nvm --version: v0.38.0 $TERM_PROGRAM: iTerm.app $SHELL: /bin/zsh $SHLVL: 1 whoami: 'some-user' ${HOME}: /Users/some-user ${NVM_DIR}: '${HOME}/.nvm' ${PATH}: ${NVM_DIR}/versions/node/v16.13.2/bin:${HOME}/.rbenv/bin:${HOME}/.rbenv/shims:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/Apple/usr/bin:${HOME}/Library/Android/sdk/emulator:${HOME}/Library/Android/sdk/tools:${HOME}/Library/Android/sdk/tools/bin:${HOME}/Library/Android/sdk/platform-tools $PREFIX: '' ${NPM_CONFIG_PREFIX}:...
#### Operating system and version: Ubuntu 20.0.4 #### `nvm debug` output: ```sh ``` #### `nvm ls` output: ```sh ``` #### How did you install `nvm`? #### What steps did you...
Run `nvm use` will read local package.json's engines.node and change version accordingly. Or anyway that auto switch the version.
#### Operating system and version: MacOS X 10.14.6 #### `nvm debug` output: ```sh -ksh[2354]: local: local can only be used in a function -ksh[2369]: local: local can only be used...
Hello everyone, I am getting an error when trying to install the latest npm. Am I doing something wrong? 
Fixes #2701
#### Operating system and version: OSX 12.2.1 #### `nvm debug` output: ```sh ``` #### `nvm ls` output: ```sh ``` #### How did you install `nvm`? Terminal code #### What steps...
When I source `nvm.sh` like `. "$HOME/.nvm/nvm.sh"` for manual install and like `. $(brew --prefix nvm)/nvm.sh`, the exit code is `3`. Even though nvm works after that, in bash scripts...
Let's say we have nvm installed in a separate mount, /.socket. NVM_DIR is $HOME/.nvm in /etc/profile.d/nvm.sh. With this setup, users can install Node versions to their home directories without each...