From 8d5bc870930a68f946c8e1227b84e750f1fbd6b2 Mon Sep 17 00:00:00 2001 From: Mylloon Date: Mon, 12 Jun 2023 00:03:40 +0200 Subject: [PATCH] update npm --- arch.sh | 3 +++ arch_wsl.sh | 3 +++ 2 files changed, 6 insertions(+) diff --git a/arch.sh b/arch.sh index fcdc2a9..5c14f09 100644 --- a/arch.sh +++ b/arch.sh @@ -415,6 +415,9 @@ main() { # Disable NetworkManager-wait-online.service because it add 8s at boot sudo systemctl disable NetworkManager-wait-online.service + # === Update NPM == + sudo npm i -g npm@latest + printf "\nConcernant le Secure Boot, voici le tuto :" echo "https://www.reddit.com/r/archlinux/comments/zo83gb/how_i_setup_secure_boot_for_arch_linux_simple/" echo -e "\n\nInstallation terminée.\nIl faut redémarrer l'ordinateur." diff --git a/arch_wsl.sh b/arch_wsl.sh index 1ee75d9..52278a3 100644 --- a/arch_wsl.sh +++ b/arch_wsl.sh @@ -217,6 +217,9 @@ main() { sudo mkdir -p /usr/share/sounds/sf2 sudo ln -s /usr/share/soundfonts/*.sf2 /usr/share/sounds/sf2/ + # === Update NPM == + sudo npm i -g npm@latest + # === Clear useless packages pacman -Qqtd | sudo pacman --noconfirm -Rsn subsystemctl - 2> /dev/null || true