Ajout de NodeJS + NPM
This commit is contained in:
parent
b2b341932b
commit
c99ba854dd
3 changed files with 11 additions and 0 deletions
|
@ -351,6 +351,9 @@ then
|
||||||
# === UBW (pare-feu) ==
|
# === UBW (pare-feu) ==
|
||||||
sudo ufw enable
|
sudo ufw enable
|
||||||
|
|
||||||
|
# === NodeJS ==
|
||||||
|
sudo pacman -S nodejs npm --noconfirm
|
||||||
|
|
||||||
echo -e "\nInstallation terminée.\nIl faut redémarrer l'ordinateur."
|
echo -e "\nInstallation terminée.\nIl faut redémarrer l'ordinateur."
|
||||||
else
|
else
|
||||||
echo "Ce script ne fonctionne que sur Manjaro."
|
echo "Ce script ne fonctionne que sur Manjaro."
|
||||||
|
|
|
@ -351,6 +351,10 @@ then
|
||||||
# sudo apt update
|
# sudo apt update
|
||||||
# sudo apt install ffmpeg obs-studio -y
|
# 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."
|
echo -e "\nInstallation terminée.\nIl faut redémarrer l'ordinateur."
|
||||||
else
|
else
|
||||||
echo "Ce script ne fonctionne que sur Ubuntu."
|
echo "Ce script ne fonctionne que sur Ubuntu."
|
||||||
|
|
4
wsl.sh
4
wsl.sh
|
@ -162,6 +162,10 @@ then
|
||||||
sdk install java 17.0.2-tem # https://whichjdk.com/#adoptium-eclipse-temurin
|
sdk install java 17.0.2-tem # https://whichjdk.com/#adoptium-eclipse-temurin
|
||||||
echo "y" | sdk upgrade java
|
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 ==
|
# === Shared folders ==
|
||||||
sudo mkdir /mnt/z && sudo mkdir /mnt/y
|
sudo mkdir /mnt/z && sudo mkdir /mnt/y
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue