chore: update NVM installation to v0.40.3 and switch from wget to curl

This commit is contained in:
Paul M 2025-07-14 19:46:54 -05:00
parent e3fc01f74c
commit 7cc8998bf8

View file

@ -130,7 +130,7 @@ sudo apt install /tmp/steam.deb -y
# NVM and Node.js # NVM and Node.js
echo "Installing NVM and Node.js..." echo "Installing NVM and Node.js..."
sudo -u "$SUDO_USER" bash -i <(wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.1/install.sh) sudo -u "$SUDO_USER" curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.3/install.sh | bash
sudo -u "$SUDO_USER" . ~/.nvm/nvm.sh sudo -u "$SUDO_USER" . ~/.nvm/nvm.sh
sudo -u "$SUDO_USER" nvm install --lts sudo -u "$SUDO_USER" nvm install --lts