Skip to content

Commit

Permalink
Update node js download to v20
Browse files Browse the repository at this point in the history
  • Loading branch information
drylian committed May 17, 2024
1 parent a39c4e0 commit 8a8cb60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion static/scripts/node-install.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
sudo apt-get update && sudo apt-get install -y ca-certificates curl gnupg
curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | sudo gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg
NODE_MAJOR=16
NODE_MAJOR=20
echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_$NODE_MAJOR.x nodistro main" | sudo tee /etc/apt/sources.list.d/nodesource.list
sudo apt-get update && sudo apt-get install nodejs -y

0 comments on commit 8a8cb60

Please sign in to comment.