Updated: 28 September 2026 · Applies to: WordPress 7.1 with WP-CLI 2
WP-CLI is the command-line tool for WordPress. With it you can install a site in a few commands.
Steps
- Open Terminal in cPanel (or connect over SSH) and check that WP-CLI is available:
wp --info. - Create a database and user in cPanel (Databases › Database Wizard).
- Go to the folder and run:
cd ~/public_html wp core download wp config create --dbname=user_wp --dbuser=user_wpuser --dbpass='DB-PASSWORD' wp core install --url=https://example.com --title="My Site" --admin_user=siteadmin --admin_email=you@example.com --prompt=admin_password
Log in at https://example.com/wp-admin with the admin details you chose.
Ucartz services for this topic
- Web hosting: shared hosting on Virtualmin with NVMe storage, free SSL and email.
- Managed cPanel VPS: cPanel included; we handle updates, security and monitoring.
- Hire an expert: engineers per 15 minutes, per hour or per month, with no contract.
