A single script that detects your distribution and runs the correct update commands. Supports Debian/Ubuntu, RHEL-family (AlmaLinux, Rocky, Fedora, CentOS, CloudLinux), Arch, openSUSE, and Alpine.
This script is for VPS and Bare Metal customers managing their own servers. Web Hosting and WordPress Hosting customers do not need to manage OS-level updates.
The Script
Usage
Review any script before running it with curl | bash. You can inspect the script first by removing | bash from the command.
Automating with Cron
To run updates automatically on a schedule:
Automated updates are convenient but can introduce breaking changes. For production servers, consider running the script manually or scheduling it during a maintenance window where you can monitor the output.
What Each Package Manager Does