Node Version Manager - POSIX-compliant bash script to manage multiple active node.js versions
nvm_resolve_alias
: only resolve one line of a multiline alias filenvm_get_mirror
: ensure only a valid URL is allowedhash
install.sh
: when NVM_INSTALL_GITHUB_REPO
is set, issue a warning (#2868)nvm_get_mirror
: disallow some non-URL charactersnvm_get_arch
: proper value for alpine linux (#3212)nvm_normalize_lts
: switch from expr to casenvm_list_aliases
: avoid overwritten sortnvm_check_file_permissions
: do not traverse into symlinksnvm install
(#3221)nvm_strip_path
: Preserve leading/trailing colons (#3145)nvm install-latest-npm
: ensure npm 10 does not install on unsupported nodesnvm_do_install
testsnvm exec
: no longer error with '-q: invalid option' for zsh users (#2800)nvm_print_npm_version
: if npm
exists but its node crashes, do not print the npm versionnvm_ls_current
: when node
is present but crashes immediately, echo "none"ls
in nvm_arch
(#3012)nvshim
tool alongside avn
(#2193)cdnvm
function: fix shellcheck errors (#3082)markdown-link-check
, semver
nvm_download_artifact
npm bin
has been removednvm install-latest-npm
: npm v6.14.18 can not be installed from npm < v4.4.4debug
: correct mistaken -V
to --version
from #2922debug
: awk
: not an option: --version
(#2922)nvm install
error unknown condition: -ne
(#2915)latest-npm
tests so they use this repo’s nvm instead of the last published onenvm_wrap_with_color_code
; allow no color code--help
: proper default NVM_COLORS
infonvm install-latest-npm
: ensure npm 9 does not install on unsupported nodesinstall.sh
: support ~/.zprofile
(#2892, #2868, #2232)nvm install
: show proper version in .nvmrc
install instructions (#2770)install.sh
: error out if the install instructions are not followed (#2742)install
: better error message when xcode command line tools are needednvm install
error when /sbin/init doesn't exist (#2698)set -E
: Add test for node install
on Bash with an ERR trap and set -E
local
(handle nonexisting /sbin/init a bit more cleanly) (#2678)nvm_extract_tarball
to support OpenBSD (#2693)nvm_print_versions
: re-implement using awkls
(#2727)nvm_install_default_packages
: move "get" logic inside helpernvm_extract_tarball
to consolidate extraction logicnvm version
in zsh (#2874)fish
: send output from load_nvm
to /dev/stderr
(#2783)ls-remote
/install
: support lts/-X
patterns in installsls-remote
/install
: properly handle lts/x
patternsnvm alias
/nvm_list_aliases
: support lts/
aliasesnvm_get_download_slug
: better architecture selection for M1 Macsinstall
: fix method=script install condition (#2668)install
: properly check for curl/wget--no-pager
option to git branch (#2637)nvm_normalize_lts
helpernvm_get_download_slug
: add unit tests (#2657, #2232)doctoc
, markdown-link-check
nvm install-latest-npm
: ensure npm 8 does not install on unsupported nodesnvm_die_on_prefix
: filter prefixed env vars on name only, ignoring values (#2368)set -a
: when this option is set, some sh
shells breakbash_completion
: be robust when cd
is overridden (#2585)nvm_die_on_prefix
: avoid grepping env functions in bash (2dad0455ec61e2842f8d0820bae40114a343ae3b, #2606)reinstall-packages
: handle global symlink locations properlynvm_ls_remote_index_tab
: handle long version lists (#2581)nvm ls
/nvm alias
/nvm_list_aliases
: zsh: when no LTS aliases, no errorinstall
: Detect correct profile based on $SHELL var (#2556)nvm_get_arch
: suppress error output if /sbin
does not existbash_completion
: check if compinit
is called before calling it (#2490)nvm_get_arch
: Rasbperry Pi: armv7l with arm64 kernel, get correct arch (#2469)-x
warning from v0.7.2nvm
(#1343)SECURITY.md
nvm install-latest-npm
testsmarkdown-link-check
scriptnvm install-latest-npm
: node < 0.10 breaks with npm with dropped support for TLS < 1.2GITHUB_TOKEN
(#2584)postcss
v7.0.36 stopped working on node 0.10; downgrade to v4fail-fast
node/install
instead of node/run
nvm_is_version_installed
node-gyp
v8 breaks a testinstall
: add parallel build support for openbsd (#2390)install
: add -b
flag to skip building from source (#2439)exec
: --
should stop argument parsing (#2354)nvm_alias
: ensure lts/-1
returns the one before lts/*
(#2462)nvm_echo
nvm_print_color_code
(#2365)nvm_download
implementation from nvm.sh (#2406)nvm_supports_source_options
(#2402)bash_completion
: move compinit before bashcompinit (#2393)$PREFIX
checking, to accomodate npm exec
install
: Ignore npm command under $NVM_DIR when checking for global modules (#2348)nvm_install_binary_extract
nvm_get_artifact_compression
nvs
as one of the Windows alternatives (#2454)cdnvm
implementation (#2442)--latest-npm
example (#2431)./nvm.sh
instead of nvm.sh
, for zsh
(#2205)dockerfile_lint
, doctoc
, eclint
, replace
, semver
doctoc
action fails when it shouldnvm_grep
to install script, fix tests (#2403.npm
is now cached by default (#2104)release
: clobber local tags