sudo apt-get update && sudo apt-get upgrade -y

Category: Self-Hosting

sudo apt-get update && sudo apt-get upgrade -y

Update all installed packages to their latest versions — run regularly to get security patches

Updates the package list and upgrades all installed software. Run weekly on production servers to stay current with security patches.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.