Automatic updater for Plex Media Server on Linux (CentOS/RPM) and macOS. Checks the Plex API and upgrades when a newer version is available.
Supports both the public release channel and Plex Pass early-access builds. Authenticate once with your Plex account via --login (browser-based PIN flow) and the script will automatically fetch PlexPass releases going forward. Without a token it falls back to the public channel.
curl, plusjqorpython3for JSON parsing- Linux:
rpm, root privileges - macOS:
unzip, write access to/Applications(sudo)
# Authenticate with Plex (one-time setup)
./plex-update.sh --login
# First-time install
sudo ./plex-update.sh --install
# Update an existing installation
sudo ./plex-update.sh
# Dry run — shows what would happen without making changes
./plex-update.sh --dry-run
# Override platform detection
sudo ./plex-update.sh --platform linux
# List available Plex versions
./plex-update.sh --list-versions
# Show all options
./plex-update.sh --helpUse --list-versions to compare the currently available public and PlexPass releases side by side.
macOS: After
--install, open Plex Media Server once manually to register the LaunchAgent.
0 4 * * * /path/to/plex-update.sh >> /var/log/plex-update.log 2>&1MIT