nvm
nvm copied to clipboard
Node Version Manager - POSIX-compliant bash script to manage multiple active node.js versions
When upgrading (or downgrading, either way) NodeJS through `nvm` it would be nice to see the from version, e.g. ``` $ nvm i stable Current version: v22.0.0 (npm v9.0.0) Now...
#### Operating system and version: Debian #### `nvm debug` output: ```sh ``` #### `nvm ls` output: ```sh ``` #### How did you install `nvm`? Using curl command and downloading the...
On macOS there setup script mentioned bash completions, but it should be zsh completions instead. An easy fix, but it will save hours for many macOS users. Please fix it....
Hi, In the install script, consider also testing for .bash_aliases. Right now, it seems to only check: *"/.bashrc" | *"/.bash_profile" | *"/.zshrc" | *"/.zprofile". Example from .bashrc: ``` # Alias...
#### Operating system and version: macOS #### `nvm debug` output: ```sh nvm --version: v0.40.2 $TERM_PROGRAM: vscode $SHELL: /bin/zsh $SHLVL: 1 whoami: 'user' ${HOME}: /Users/user ${NVM_DIR}: '${HOME}/.nvm' ${PATH}: ${NVM_DIR}/versions/node/v20.19.0/bin:${NVM_DIR}/versions/node/v22.14.0/bin:${NVM_DIR}/versions/node/v22.14.0/bin:${NVM_DIR}/versions/node/v20.19.0/bin:${HOME}/.pixi/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/opt/X11/bin:/Library/Apple/usr/bin:/usr/local/share/dotnet:~/.dotnet/tools:${HOME}/.pixi/bin:${HOME}/Library/pnpm:${NVM_DIR}/versions/node/v18.20.6/bin:${HOME}/.cargo/bin:${HOME}/Library/Application Support/JetBrains/Toolbox/scripts:${HOME}/.spicetify:${HOME}/Library/Application Support/JetBrains/Toolbox/scripts:${HOME}/.spicetify...
Sourcing `nvm.sh` fails if a readonly environment variable `VERSION` (or some other readonly variables that nvm.sh uses) are defined. IMO nvm should use variables with a unique prefix even for...
#### Operating system and version: #### `nvm debug` output: ```sh nvm --version: v0.40.3 $SHELL: /bin/zsh $SHLVL: 1 whoami: 'user' ${HOME}: /Users/user ${NVM_DIR}: '${HOME}/.nvm' ${PATH}: ${NVM_DIR}/versions/node/v14.21.3/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin $PREFIX: '' ${NPM_CONFIG_PREFIX}: '' $NVM_NODEJS_ORG_MIRROR:...
系统和版本: macOs 15.14.1 nvm版本: #### nvm debug 执行命令:nvm install 14.17.5 #### 报错截图: 23 warnings generated. 21 warnings generated. rm 32d1f7fcac13b1f13e780f5b0601cdd245bcca79.intermediate make: *** [node] Error 2 nvm: install v14.17.5 failed! ####...