Node Version Manager - POSIX-compliant bash script to manage multiple active node.js versions
set-colors
command (#2291, #2232)nvm_die_on_prefix
: only grep lines starting with env var name (#2347)pull_request_target
eventuse
/nvm_die_on_prefix
: replicate npm config algorithm and remove npm config
call (#2317)nvm ls-remote
: accept versions that end with a dot (#2310)nvm_ls
: zsh: unset markdirs
and local_options
(#2316)nvm_die_on_prefix
: use directory comparison rather than string (#2316)nvm --help
output (#2301)nvm_ls_current
fast test (#2322)sudo:
option in TravisCI config (#2307)v0.36.0
nvm -v
as an alias for nvm --version
(#2270)nvm deactivate
/nvm which
: add --silent
nvm install
(#2274, #1929)nvm_supports_xz
: Add Mac/FreeBSD xz platform support checks (#2156)nvm_find_project_dir
helperlatest-npm
: ensure npm 7 is not installed on node < 10nvm_die_on_prefix
: check that the prefix is inside the version dir, not just the nvm dirnvm use
: fix --silent
when version is omitted--help
is intercepted on any command (#2277)--help
: Add more examples (#2272)install
: improved arg parsing around --reinstall-packages-from
(#1762)reinstall-packages
: do not include unmet peer deps (#1948)--help
: explain more clearly that nvm install
, nvm use
, nvm exec
, and nvm run
(#2242)command
to xargs
/rm
in nvm_get_default_packages
(#2281)whoami
outputnvm_auto
: only call nvm_ls_current
in use
mode (#2286)nvm_get_checksum_binary
; use it in nvm debug
nvm_checksum
functionnvm run
/nvm exec
: use NVM_SILENT
consistently internally (#2279)locales
(#2306)v0.35.3
lts/-1
etc, to point to an LTS line relative to "latest"use
: set NVM_INC
to expose the node include pathuninstall
: add NVM_DEBUG
to print out a filename as its permissions are checkednvm ls-remote
: properly label latest LTS versions instead of just the latest one in the filternvm unload
test more robustnvm unload
unsets env vars toonvm ls
: add --no-alias
to suppress alias outputset -u
: Add default empty value for $NVM_NO_ALIAS
(#2054, #2047)default_packages
: work when the file lacks a trailing newlineinstall
: Add missing io.js installation message (#1989)nvm_supports_source_options
: work around a bug in bash 3.2install
: error out when an argument has ---
-e
in a test.nvm ls
: --no-colors
: system
: print an asterisknvm_stdout_is_terminal
helper (#2012, #2007)nvm_get_default_packages
nvm.sh
: make coding style more consistent (#1819)--latest-npm
info to Migrating global packages section (#1970)bash
cdnvm
script to properly handle aliases (#2017)--help
: consolidate some help outputnvm --help
: add --no-colors
and --no-alias
nvm —help
output (#1993)unalias
: add more specific error message for builtin aliases (#1992)jspm
v2 beta started breaking tests; pin to < v2rmdir
in teardowns (#2010)nvm_command_info
: make error output more helpfulnvm ls
: ensure nvm alias
is called--no-progress
for nvm install
(#1422)install.sh
: allow user to explicitly opt out of nvm adding the source string (#1804)$XDG_CONFIG_HOME
(#1888)bash_completion
: Add support for ZSH_DISABLE_COMPFIX
flag (#1911)nvm debug
: Fix sed syntax error in nvm_command_info (#1528)install -s
: zsh
: ensure shwordsplit
opt is set (#1719)ls-remote
: fix issues in zsh when using a mirror with a ton of entries (#1818)nvm_is_version_installed
to check for a node executable instead of root dir (#1824)use
: Prepend instead of changing if shadowed by system dirs (#1830)install.sh
: Print an error and exit the script if $METHOD is set to something unexpected (#1917)bash_completion
: Improve coding style (#1816){ …; }
instead of (…)
to group test commands (#1825)-n/-z
instead of ! -z/! -n
condition (#1955)nvm install-latest-npm
tests for all node versionsnvm use
in Bash (#1865)