Bot releases are hidden (Show)
\hash
instead of command hash
for zsh
(#3239, #3247, #3246)Published by ljharb 11 months ago
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)Published by ljharb about 1 year ago
nvm_strip_path
: Preserve leading/trailing colons (#3145)nvm install-latest-npm
: ensure npm 10 does not install on unsupported nodesnvm_do_install
testsPublished by ljharb about 1 year ago
nvm 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 removedPublished by ljharb almost 2 years ago
nvm 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 codePublished by ljharb about 2 years ago
--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)Published by ljharb almost 3 years ago
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
Published by ljharb about 3 years ago
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 testPublished by ljharb over 3 years ago
install
: 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 tagsPublished by ljharb almost 4 years ago
nvm_die_on_prefix
: only grep lines starting with env var name" (#2347, #2360, #2364, #2366)Published by ljharb almost 4 years ago
set-colors
command (#2291, #2232)nvm_die_on_prefix
: only grep lines starting with env var name (#2347)pull_request_target
eventPublished by ljharb almost 4 years ago
use
/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)Published by ljharb about 4 years ago
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 parameter is optional and can be provided by .nvmrc on 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)Published by ljharb over 4 years ago
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 tooPublished by ljharb almost 5 years ago
nvm unalias x
when x
is a default alias, but shadowed (#2122)david
to v11Published by ljharb almost 5 years ago
install-latest-npm
: npm
v6.10
breaks on node
v6.0
, v6.1
, and v9.0
-v9.2
nvm use
: improve help output with bare nvm use
and no .nvmrc
Published by ljharb about 5 years ago
nvm 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 calledPublished by ljharb almost 6 years ago
--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)Published by ljharb over 6 years ago
install-latest-npm
: node v4.5 and v4.6 work on npm v5.4.1, but not v5.4.2Published by ljharb over 6 years ago
install-latest-npm
: npm 6 is out, and requires node 6 or higher