nvm
nvm copied to clipboard
Node Version Manager - POSIX-compliant bash script to manage multiple active node.js versions
#### Operating system and version: #### `nvm debug` output: ```sh nvm --version: v0.39.1 $TERM_PROGRAM: iTerm.app $SHELL: /usr/local/bin/fish $SHLVL: 2 whoami: 'eric' ${HOME}: /Users/eric ${NVM_DIR}: '${HOME}/.nvm' ${PATH}: ${NVM_DIR}/versions/node/v16.15.1/bin:${HOME}/.pyenv/versions/3.10.4/bin:/usr/local/Cellar/pyenv/2.3.3/libexec:/usr/local/Cellar/pyenv/2.3.3/plugins/python-build/bin:${HOME}/.pyenv/shims:${HOME}/.pyenv/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/Apple/usr/bin $PREFIX: '' ${NPM_CONFIG_PREFIX}:...
`lts/gallium` is node 16, while `lts/hydrogen` is node 18. This fixes the following test: * nvm_list_aliases works with LTS aliases
Use `command curl` ~add nvm_curl~ so that we can bypass aliased curl. Context: https://github.com/nvm-sh/nvm/issues/2923#issuecomment-1299535388
`nvm install node` will not find/install the binaries on `linux` running in `ChromeOS` containier.
#### Operating system and version: ChromeOS --> Running container of Linux. ```bash nvm_get_os ─╯ linux ``` ```bash nvm_get_arch x64 ``` #### `nvm debug` output: ```sh nvm --version: v0.39.2 $SHELL: /usr/bin/zsh...
#### Operating system and version: #### `nvm debug` output: ```sh ``` #### `nvm ls` output: ```sh ``` #### How did you install `nvm`? curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.2/install.sh | bash #### What...
https://github.com/creationix/nvm/blob/1c3f8da6c38bdfecf3dbf01c6753a6fd27032b9d/nvm.sh#L45-L51 That section of code looks pretty messy when nvm is used in a CI system like Jenkins. Here's a small snippet of what that looks like to Jenkins' streaming...
#### Operating system and version: #### `nvm debug` output: ```sh nvm --version: v0.39.2 $SHELL: /bin/zsh $SHLVL: 1 whoami: 'kret' ${HOME}: /Users/kret ${NVM_DIR}: '${HOME}/.nvm' ${PATH}: ${HOME}/.nix-profile/bin:${HOME}/.opam/default/bin:${HOME}/.rbenv/shims:${NVM_DIR}/versions/node/v18.10.0/bin:${HOME}/.jenv/shims:${HOME}/.asdf/shims:/usr/local/opt/asdf/libexec/bin:${HOME}/bin:${HOME}/.cabal/bin:${HOME}/.ghcup/bin:${HOME}/.local/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/Apple/usr/bin $PREFIX: '' ${NPM_CONFIG_PREFIX}: '' $NVM_NODEJS_ORG_MIRROR:...
#### Operating system and version: Running in docker - Ubuntu 20.04. I've added the Dockerfile and docker-compose.yml file at the end of the issue summary. #### `nvm debug` output: ```sh...
First off, I've checked the following issues and none of them been able to solve my issue: https://github.com/nvm-sh/nvm/issues/673, https://github.com/nvm-sh/nvm/issues/667, https://github.com/nvm-sh/nvm/issues/638, https://github.com/nvm-sh/nvm/issues/653 and https://github.com/nvm-sh/nvm/issues/669 #### Operating system and version: Windows 10,...
# Situation Currently, the nvm install script has a specific order in which it looks for files: 1. `.bashrc` 2. `.bash_profile` 3. `.zshrc` However, this doesn't take into account any...