update npm

This commit is contained in:
Mylloon 2023-06-12 00:03:40 +02:00
parent a160c989c1
commit 8d5bc87093
Signed by: Anri
GPG key ID: A82D63DFF8D1317F
2 changed files with 6 additions and 0 deletions

View file

@ -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."

View file

@ -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