1 réponse
- Le plus récent
- Le plus de votes
- La plupart des commentaires
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
répondu il y a 2 ans
Contenus pertinents
- demandé il y a 2 mois
- demandé il y a 7 mois
- demandé il y a un an
- AWS OFFICIELA mis à jour il y a 8 mois
- AWS OFFICIELA mis à jour il y a 2 ans
- AWS OFFICIELA mis à jour il y a 3 ans
- AWS OFFICIELA mis à jour il y a 2 ans