Allupgrade Official
echo "==> Updating npm global packages" if command -v npm &>/dev/null; then sudo npm update -g fi
Make it executable:
alias allupgrade='sudo apt update && sudo apt upgrade -y && sudo snap refresh && flatpak update -y' Create ~/bin/allupgrade : allupgrade
echo "✅ All upgrades completed"
echo "==> Updating pip global packages" if command -v pip3 &>/dev/null; then pip3 list --outdated --format=freeze | grep -v '^-e' | cut -d = -f 1 | xargs -n1 pip3 install -U fi echo "==> Updating npm global packages" if command