From dd4e7c3e076d72eb937beaed2da24b612fd5a177 Mon Sep 17 00:00:00 2001 From: Vivek Miglani Date: Fri, 13 Oct 2023 10:57:01 -0700 Subject: [PATCH] Nvm test --- scripts/install_via_pip.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/install_via_pip.sh b/scripts/install_via_pip.sh index 16041581d6..9c73e50fe3 100755 --- a/scripts/install_via_pip.sh +++ b/scripts/install_via_pip.sh @@ -27,6 +27,9 @@ sudo apt-get update sudo apt install apt-transport-https ca-certificates curl https://raw.githubusercontent.com/creationix/nvm/master/install.sh | bash source ~/.bashrc +export NVM_DIR="$HOME/.nvm" +[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm +[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" nvm install node #curl -sL https://deb.nodesource.com/setup_14.x | sudo -E bash - #curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -