To install cPanel & WHM on your server, run the following command:
cd /home && curl -o latest -L https://securedownloads.cpanel.net/latest && sh latest
This command changes your session to the home directory, downloads the latest version of cPanel & WHM, and runs the installation script.
Important:
- cPanel does not provide an uninstaller. If you wish to remove our software, you must reformat the server.
- Only install cPanel & WHM on a freshly-installed operating system.
- You must log in to the server as the
rootuser in order to install cPanel & WHM. If you do not possessroot-level access, contact your system administrator or hosting provider for assistance. - We recommend that you use the cPanel & WHM installer, which installs all of the services that it requires. If you install services before or while you install cPanel & WHM, you will encounter compatibility issues. If you install services that require cPanel & WHM while you are installing cPanel & WHM, the installation process will fail.
- New installations of cPanel & WHM default to the fast installation mode. To disable the fast installation mode, use the steps in our Customize Your Installation documentation.