Title: VIP-CLI command reference
Author: WordPress VIP Documentation
Published: February 7, 2024
Last modified: July 7, 2026

---

 1. [VIP-CLI](https://docs.wpvip.com/vip-cli/)
 2. VIP-CLI command reference

#  VIP-CLI command reference

Available VIP-CLI commands and their options can be reviewed by running `vip --help`(
or `-h`).

A help menu for individual commands can be reviewed by running `vip [command] -h`.

| Command | Description | 
| `[vip app](https://docs.wpvip.com/vip-cli/commands/app/)` | Retrieve a list of accessible VIP applications based on a [user’s permissions](https://docs.wpvip.com/enterprise-authentication/). | 
| `[vip backup](https://docs.wpvip.com/vip-cli/commands/backup/)` | Interact with an environment’s [Database Backups](https://docs.wpvip.com/databases/backups/). | 
| `[vip cache](https://docs.wpvip.com/vip-cli/commands/cache/)` | [Purge one or more URLs](https://docs.wpvip.com/flush-the-page-cache/) sharing the same domain in a single command. | 
| `[vip config](https://docs.wpvip.com/vip-cli/commands/config/)` | Configure [environment variables](https://docs.wpvip.com/manage-environment-variables/) and [Software Versions](https://docs.wpvip.com/software-management/) settings for VIP Platform environments. | 
| `[vip db](https://docs.wpvip.com/vip-cli/commands/db/)` | Access the database of an environment with phpMyAdmin. | 
| `[vip defensive-mode](https://docs.wpvip.com/vip-cli/commands/defensive-mode/)` | Manage [defensive mode](https://docs.wpvip.com/security-controls/defensive-mode/) for an environment. | 
| `[vip dev-env](https://docs.wpvip.com/vip-cli/commands/dev-env/)` | Create and manage a [VIP Local Development Environment](https://docs.wpvip.com/vip-local-development-environment/). | 
| `[vip export](https://docs.wpvip.com/vip-cli/commands/export/)` | Generate and download a fresh backup of an environment’s database. | 
| `[vip import](https://docs.wpvip.com/vip-cli/commands/import/)` | [Import media files](https://docs.wpvip.com/vip-file-system/import-media-files/) or [SQL files](https://docs.wpvip.com/databases/import/) to an environment. | 
| `[vip logout](https://docs.wpvip.com/vip-cli/commands/logout/)` | Logout from a current VIP-CLI session. | 
| `[vip logs](https://docs.wpvip.com/vip-cli/commands/logs/)` | [Retrieve Runtime Logs](https://docs.wpvip.com/runtime-logs/) for an environment. | 
| `[vip search-replace](https://docs.wpvip.com/vip-cli/commands/search-replace/)` | Perform search and replace tasks on a SQL file prior to—or during—a file import. | 
| `[vip slowlogs](https://docs.wpvip.com/vip-cli/commands/slowlogs/)` | Retrieve slow query logs for an environment. | 
| `[vip sync](https://docs.wpvip.com/vip-cli/commands/sync/)` | [Sync data from production to non-production environments](https://docs.wpvip.com/vip-dashboard/data-sync/#h-running-a-data-sync-via-cli). | 
| `[vip whoami](https://docs.wpvip.com/vip-cli/commands/whoami/)` | Display details about the currently logged-in user. | 
| `[vip wp](https://docs.wpvip.com/vip-cli/commands/wp/)` | Use VIP-CLI to [run WP-CLI commands against an environment](https://docs.wpvip.com/vip-cli/basic-usage/#wp-cli-commands), including commands for [Interacting with Enterprise Search indexes](https://docs.wpvip.com/vip-search/). |

## Analytics

By default, VIP uses an in-house analytics system to record information about usage
of the VIP-CLI tool. To opt-out of this data collection, set the `DO_NOT_TRACK` 
environment variable to `1`:

 * **Per command** by prepending the VIP-CLI command with `DO_NOT_TRACK=1`.
   For 
   example: `DO_NOT_TRACK=1 vip app list`
 *  **In the profile** used most often in the local machine’s terminal application.
   
   For example: `export DO_NOT_TRACK=1`

Last updated: July 07, 2026