> ## Documentation Index
> Fetch the complete documentation index at: https://support.webcentral.au/llms.txt
> Use this file to discover all available pages before exploring further.

# Using WP-CLI in the Webcentral Dashboard

> Learn how to access and use the WordPress command-line tool WP-CLI in the Webcentral Dashboard.

<br />

With our unique WordPress command-line interface terminal, using WP-CLI has never been easier! No longer do you need to be a Linux pro to make use of the powerful WP-CLI tool set.

<Tip>
  Before you use WP-CLI, please read the release announcement at the Rocket.net blog for an overview and some basic information about how to use it.
</Tip>

**Accessing WP-CLI**

To access WP-CLI from the Webcentral Dashboard, follow these steps:

1. Log in to the Webcentral Panel at [https://theconsole.webcentral.au/](https://theconsole.webcentral.au/)
2. In the left sidebar, click **Managed WordPress**:

![](https://files.readme.io/6a7579ec02faab89da8b626b56beb3a39b0c452827db496856e2308b8f9673e6-image.png)

3. On the **My Websites** page, locate the site, and then click **Manage**

![](https://files.readme.io/de766c827649be0cd3e16e3839c29609dc657f550174d84bf38a750d6b4074d4-image.png)

4. On the Webcentral dashboard, click the Advanced icon:

![](https://files.readme.io/e3bd89d33792b344758bc354b5a7b0e8c378ab1e6f6be101619e8b5248a809e2-image.png)

5. In the Advanced Settings section, in the WP Command Line Interface row, click WP-CLI:

![](https://files.readme.io/a92e83640c0fbf1af443e63aede8b28526629072d01246c777d37c6146df0e97-image.png)

6. The WP-CLI terminal appears, ready for your commands:

![](https://files.readme.io/c3885674e6f622ab2b57f4e675079d348573024e739b46c4729d98e2e1a47c5a-image.png)

**Using WP-CLI**

The WP-CLI Terminal is not the same as an SSH command prompt. The only command available is wp with another command called an "argument" after it. For example:

```text theme={null}
wp theme list
wp plugin list
wp user list
```

The wp command invokes WP-CLI, and \[item] list displays lists of each of those items.

One of the most powerful tools available in WP-CLI is the search-replace command, which allows you to search the database for any text and replace it.

For example, the following command changes references from an old domain name (example.net) to a new domain name (example.com):

```text theme={null}
wp search-replace 'https://example.net' 'https://example.com'
```

<Note>
  You should not use this command to change a site's domain name. The example above refers to an arbitrary URL in the database.
</Note>

In some cases, you may need to use the options --all-tables and --precise to instruct WP-CLI to search the entire database. You may also want to add the --dry-run option at the end so you can test the command without making any actual replacements in the database.
