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

# Do you offer WP-CLI?

**WP-CLI** is installed on all servers. When you are logged in over **SSH**, run it as the **`wp`** command.

## Useful commands

### Create an administrator user

```bash theme={null}
wp user create myuser me@email.com --role=administrator
```

### Verify WordPress core and plugins

```bash theme={null}
wp core verify-checksums
wp plugin verify-checksums --all
```

### Install and activate a plugin

```bash theme={null}
wp plugin install litespeed-cache --activate
```

### Reinstall an existing plugin

```bash theme={null}
wp plugin install litespeed-cache --force
```

### Update all plugins

```bash theme={null}
wp plugin update --all
```

### Search and replace (for example HTTP to HTTPS)

```bash theme={null}
wp search-replace 'http://mydomain.com' 'https://mydomain.com' --skip-columns=guid --precise
```

> [!NOTE]
>
> For `search-replace`, add **`--all-tables`** if you need every table in the database, not only those WordPress registers via **`$wpdb`**.

> [!TIP]
>
> Many subcommands support **`--dry-run`** so you can preview changes before applying them.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.