mirror of
https://github.com/nvm-sh/nvm.git
synced 2026-07-19 05:18:22 +08:00
[New] install script: Allow installation from other repository
This commit is contained in:
@@ -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