1 Risposta
- Più recenti
- Maggior numero di voti
- Maggior numero di commenti
0
There's a couple different ways you can do it, but this was the one that worked best for me. Add this to your user-data script, minus the nvm stuff of course:
# Install nvm
sudo -u ec2-user -i <<'EOF'
cd /home/ec2-user
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash
source /home/ec2-user/.bashrc
nvm install 10.19.0
nvm use 10.19.0
EOF
con risposta 2 anni fa
Contenuto pertinente
- AWS UFFICIALEAggiornata 2 anni fa
- AWS UFFICIALEAggiornata 2 anni fa
- AWS UFFICIALEAggiornata un anno fa
- AWS UFFICIALEAggiornata 9 mesi fa