Back to products
WordPress Studio CLI

WordPress Studio CLI

Website developer.wordpress.com
Overview

What it is

Control WordPress Studio features from the terminal. Integrate local development into scripting workflows with CLI tools.

Intent

I need it when

Run WP-CLI commands without separate WP-CLI installation or configuration

Studio CLI wraps WP-CLI functionality (studio wp command) with automatic environment setup, database credentials, and path configuration, allowing developers to execute WP-CLI operations without installing or configuring WP-CLI separately.

Manage local WordPress Studio sites from the terminal without opening the GUI application

Studio CLI provides globally available command-line commands (studio site create, start, stop, delete, status) to create, configure, and manage local WordPress sites entirely from the terminal, enabling developers to work without the GUI.

Create and manage temporary preview sites on WordPress.com to share work with teammates

Studio CLI preview commands (studio preview create, update, delete, list) let developers build and deploy local sites to temporary WordPress.com preview environments with shareable URLs, eliminating the need for teammates to have local development setups.

Integrate AI coding agents with WordPress development to automate site setup and management

Studio CLI works with AI agents (Claude Code, Cursor, IDE extensions) that can detect Studio projects and execute terminal commands, enabling agents to automatically create sites, manage previews, and run WP-CLI tasks based on developer instructions.

Automate WordPress development workflows and integrate site management into build scripts

Studio CLI commands can be embedded in shell scripts and build pipelines (studio site create, studio preview create, studio wp commands), allowing developers to automate local site setup, preview deployment, and WP-CLI operations as part of CI/CD workflows.

Drop

Not a fit when

  • User requires GUI-only WordPress management without command-line interface
  • User is not developing locally or needs only hosted WordPress.com dashboard access
  • User lacks terminal/CLI experience and prefers visual point-and-click tools
  • User manages WordPress sites on non-WordPress.com hosting without Studio installed
  • User needs real-time visual site preview without deploying to preview environments
Commercials

Pricing

Included with WordPress Studio; available as standalone npm module wp-studio