Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions install
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,6 @@ apt-get install -y curl gnupg2
curl https://raw.githubusercontent.com/creationix/nvm/master/install.sh | bash
source ~/.bashrc

# Initial install of NodeJS (vrsion 20 is an LTS version)
nvm install v20
npm install -g npm@latest

# Install node version manager, globally
mv ~/.nvm /opt/nvm
chmod -R 755 /opt/nvm
Expand All @@ -28,6 +24,10 @@ export NVM_DIR="/opt/nvm"
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
export PATH="/opt/nvm:$PATH"

# Initial install of NodeJS (vrsion 20 is an LTS version)
nvm install v20
npm install -g npm@latest

# Install last three NodeJS LTS versions
nvm install v16
nvm install v18
Expand Down