start.sh: install LTS node

This commit is contained in:
SillyLossy
2023-05-15 16:59:43 +03:00
parent d97058ab89
commit 23f9298db5

View File

@@ -10,7 +10,8 @@ then
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.3/install.sh | bash
source ~/.bashrc
nvm install node;;
nvm install lts
nvm use lts;;
n|N )
echo "Nodejs and npm will not be installed."
exit;;