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
1616curl https://raw.githubusercontent.com/creationix/nvm/master/install.sh | bash
1717source ~ /.bashrc
1818
19- # Initial install of NodeJS (vrsion 20 is an LTS version)
20- nvm install v20
21- npm install -g npm@latest
22-
2319# Install node version manager, globally
2420mv ~ /.nvm /opt/nvm
2521chmod -R 755 /opt/nvm
@@ -28,6 +24,10 @@ export NVM_DIR="/opt/nvm"
2824[ -s " $NVM_DIR /bash_completion" ] && \. " $NVM_DIR /bash_completion" # This loads nvm bash_completion
2925export PATH=" /opt/nvm:$PATH "
3026
27+ # Initial install of NodeJS (vrsion 20 is an LTS version)
28+ nvm install v20
29+ npm install -g npm@latest
30+
3131# Install last three NodeJS LTS versions
3232nvm install v16
3333nvm install v18
You can’t perform that action at this time.
0 commit comments