We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b646872 commit 3dc6b30Copy full SHA for 3dc6b30
avaiable/10_nvm.bash
@@ -1,5 +1,13 @@
1
+if [ -z "$NVM_V" ]; then
2
+ export NVM_V=14.15.3
3
+fi
4
+
5
export NVM_DIR="$HOME/.nvm"
6
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
7
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
-# nvm use 10.20.1
-nvm use 14.15.3
8
9
+if [ ! -d "${HOME}/.nvm/versions/node/v${NVM_V}" ]; then
10
+ nvm install ${NVM_V}
11
12
13
+nvm use $NVM_V
0 commit comments