diff --git a/manjaro.sh b/manjaro.sh index d53afa0..a201cdd 100644 --- a/manjaro.sh +++ b/manjaro.sh @@ -351,6 +351,9 @@ then # === UBW (pare-feu) == sudo ufw enable + # === NodeJS == + sudo pacman -S nodejs npm --noconfirm + echo -e "\nInstallation terminée.\nIl faut redémarrer l'ordinateur." else echo "Ce script ne fonctionne que sur Manjaro." diff --git a/ubuntu.sh b/ubuntu.sh index 4e7f88d..6462137 100644 --- a/ubuntu.sh +++ b/ubuntu.sh @@ -351,6 +351,10 @@ then # sudo apt update # sudo apt install ffmpeg obs-studio -y + # === NodeJS == + curl -fsSL https://deb.nodesource.com/setup_16.x | sudo -E bash - + sudo apt-get install -y nodejs + echo -e "\nInstallation terminée.\nIl faut redémarrer l'ordinateur." else echo "Ce script ne fonctionne que sur Ubuntu." diff --git a/wsl.sh b/wsl.sh index 11a4cf7..4d0e0e1 100644 --- a/wsl.sh +++ b/wsl.sh @@ -162,6 +162,10 @@ then sdk install java 17.0.2-tem # https://whichjdk.com/#adoptium-eclipse-temurin echo "y" | sdk upgrade java + # === NodeJS == + curl -fsSL https://deb.nodesource.com/setup_16.x | sudo -E bash - + sudo apt-get install -y nodejs + # === Shared folders == sudo mkdir /mnt/z && sudo mkdir /mnt/y