diff --git a/node-reinstall b/node-reinstall index c7c6cc8..e99e210 100755 --- a/node-reinstall +++ b/node-reinstall @@ -187,7 +187,7 @@ if (( $USE_NVM )); then cd $HOME # get the latest stable version number of nvm from the repo's homepage [ "$STABLE" == "" ] && STABLE=$(curl -s -k https://github.com/creationix/nvm/ | grep "curl https://raw.githubusercontent.com/creationix/nvm/" | grep -oE "v\d+\.\d+\.\d+") - [[ $STABLE =~ ^v[0-9]+.[0-9]+.[0-9]+$ ]] || STABLE="v0.25.1" + [[ $STABLE =~ ^v[0-9]+.[0-9]+.[0-9]+$ ]] || STABLE="v0.33.8" curl -sL https://raw.githubusercontent.com/creationix/nvm/$STABLE/install.sh | bash source $HOME/.nvm/nvm.sh elif (( $USE_NAVE )); then