From f382f6c24b3b79cbb66571428402af966ddd88fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ra=C3=BAl=20Negr=C3=B3n?= Date: Fri, 20 Mar 2020 20:41:39 -0400 Subject: [PATCH] fix NVM --- install.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/install.sh b/install.sh index e5942d5..7c37612 100755 --- a/install.sh +++ b/install.sh @@ -21,6 +21,7 @@ curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.2/install.sh | zsh # Install latest release of node echo "==> Installing latest node LTS via nvm..." +[ -s "$HOME/.nvm/nvm.sh" ] && . "$HOME/.nvm/nvm.sh" nvm install --lts echo "==> Installing yarn..."