We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
install
1 parent 30486b9 commit 8937917Copy full SHA for 8937917
install.sh
@@ -360,7 +360,7 @@ nvm_do_install() {
360
# Autodetect install method
361
if nvm_has git; then
362
install_nvm_from_git
363
- elif nvm_has nvm_download; then
+ elif nvm_has curl || nvm_has wget; then
364
install_nvm_as_script
365
else
366
nvm_echo >&2 'You need git, curl, or wget to install nvm'
@@ -373,7 +373,7 @@ nvm_do_install() {
373
fi
374
375
elif [ "${METHOD}" = 'script' ]; then
376
- if ! nvm_has nvm_download; then
+ if ! nvm_has curl || nvm_has wget; then
377
nvm_echo >&2 "You need curl or wget to install nvm"
378
exit 1
379
0 commit comments