We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 5a72d75 + 5f79596 commit 54f727dCopy full SHA for 54f727d
1 file changed
install
@@ -16,10 +16,6 @@ apt-get install -y curl gnupg2
16
curl https://raw.githubusercontent.com/creationix/nvm/master/install.sh | bash
17
source ~/.bashrc
18
19
-# Initial install of NodeJS (vrsion 20 is an LTS version)
20
-nvm install v20
21
-npm install -g npm@latest
22
-
23
# Install node version manager, globally
24
mv ~/.nvm /opt/nvm
25
chmod -R 755 /opt/nvm
@@ -28,6 +24,10 @@ export NVM_DIR="/opt/nvm"
28
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
29
export PATH="/opt/nvm:$PATH"
30
26
27
+# Initial install of NodeJS (vrsion 20 is an LTS version)
+nvm install v20
+npm install -g npm@latest
+
31
# Install last three NodeJS LTS versions
32
nvm install v16
33
nvm install v18
0 commit comments