diff options
-rwxr-xr-x | install.sh | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -96,6 +96,8 @@ do fi printf "\t nvm installed!" printf "\t Installing latest nodejs..." + export NVM_DIR="$([ -z "${XDG_CONFIG_HOME-}" ] && printf %s "${HOME}/.nvm" || printf %s "${XDG_CONFIG_HOME}/nvm")" + [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm nvm install $(nvm ls-remote|tail -n 1) if [ $? -ne 0 ] then |