From 1f8e3889f533e540cafcf108915a4acc4d5aad9c Mon Sep 17 00:00:00 2001 From: scamdotnet <43154292+scamdotnet@users.noreply.github.com> Date: Mon, 22 Mar 2021 11:56:35 -0400 Subject: [PATCH] fix 'nvm: command not found' --- apps/Node.js/install | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/apps/Node.js/install b/apps/Node.js/install index 756714c..e0fc18b 100755 --- a/apps/Node.js/install +++ b/apps/Node.js/install @@ -21,8 +21,7 @@ fi #Install nvm manager: curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.37.2/install.sh | bash || error "Failed to install nvm!" -#source ~/.bashrc -export NVM_DIR="$HOME/.nvm" +export NVM_DIR="$HOME/.config/nvm" [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm [ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion