File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -16,10 +16,6 @@ apt-get install -y curl gnupg2
16
16
curl https://raw.githubusercontent.com/creationix/nvm/master/install.sh | bash
17
17
source ~ /.bashrc
18
18
19
- # Initial install of NodeJS (vrsion 20 is an LTS version)
20
- nvm install v20
21
- npm install -g npm@latest
22
-
23
19
# Install node version manager, globally
24
20
mv ~ /.nvm /opt/nvm
25
21
chmod -R 755 /opt/nvm
@@ -28,6 +24,10 @@ export NVM_DIR="/opt/nvm"
28
24
[ -s " $NVM_DIR /bash_completion" ] && \. " $NVM_DIR /bash_completion" # This loads nvm bash_completion
29
25
export PATH=" /opt/nvm:$PATH "
30
26
27
+ # Initial install of NodeJS (vrsion 20 is an LTS version)
28
+ nvm install v20
29
+ npm install -g npm@latest
30
+
31
31
# Install last three NodeJS LTS versions
32
32
nvm install v16
33
33
nvm install v18
You can’t perform that action at this time.
0 commit comments