How to Update WHM/cPanel to the Latest Version from the Command Line

Occasionally, WHM or cPanel might experience errors that can only be resolved by updating the software. To update the control panel from the command line, start by logging into your server by SSH as root.

Once you're connected, enter the following command:

/scripts/upcp

This will only update your WHM installation and will not affect your data. If your WHM installation is already up-to-date, you can still force an update, which will essentially cause WHM to be re-installed while still keeping all your configurations.


To force update WHM, run:

/scripts/upcp --force

No need to worry - your data will not be modified by the update.


If you still have questions about updating your cPanel, feel free to contact us by opening a support ticket or by using our live chat feature to talk with our support team.

  • 0 Users Found This Useful
Was this answer helpful?

Also Read

How to Redirect Different Versions of the Same Site (www to non-www and vice versa)

You can redirect www accesses of your domain to the non-www version using the cPanel Redirections...

What is cPanel?

cPanel is a control panel with which you can manage almost any element of your cPanel hosting...

Addon Domains and Aliases

What is an alias? An alias is a special domain name configuration that allows a second domain...

cPanel domain.com/whm is broken?

If yourdomain.com/cpanel and yourdomain.com/whm both go to a 500 internal error page instead of...

How to Choose the PHP Version by Domain

cPanel supports the possibility of selecting different PHP versions for your different domains....