mirror of
https://github.com/nvm-sh/nvm.git
synced 2025-10-30 17:25:51 +08:00
[New] install script: Allow installation from other repository
This commit is contained in:
committed by
Jordan Harband
parent
f3fa157456
commit
4e9df33cb7
@@ -2,6 +2,8 @@
|
||||
|
||||
die () { echo "$@" ; exit 1; }
|
||||
|
||||
# Needed to avoid to checkout the repo to the latest nvm version, losing the commits of the current PR
|
||||
unset NVM_DIR
|
||||
NODE_VERSION=8 \. ../../install.sh
|
||||
|
||||
# nvm installed node 8
|
||||
|
||||
Reference in New Issue
Block a user