The Studio CLI
WordPress from your terminal.
The same engine as the app, as one command. Create sites, run WP-CLI, share previews, and push to WordPress.com or Pressable. It works on its own, in scripts and in CI.
curl -fsSL https://wordpress.studio/install.sh | bash
Windows (PowerShell):
irm https://wordpress.studio/install.ps1 | iex
macOS and Linux. Then run studio --help. Prefer a window? Download the app, which ships the same CLI.
A site in sixty seconds
Create a site, change it with WP-CLI, and share a link. Every site you make here also opens in the app.
# Create a site in a new folder; it starts right away
mkdir coffee-shop && cd coffee-shop
studio create --name "Coffee Shop"
# Run any WP-CLI command against it
studio wp plugin install woocommerce --activate
# Share a temporary preview link
studio preview create
studio ui
The app, in a browser tab
One command starts the Studio interface on your machine and opens it in your browser. Manage your sites with a full interface, without installing the desktop app.
studio ui
- Nothing more to install. It comes with the CLI.
- Same sites. Everything you create in the terminal is there, and the other way around.
- Runs locally. It serves on
localhost:8081. Pick another port with--port, or skip opening the browser with--no-open.
localhost:8081

Command reference
Every command, grouped by what it touches. Commands act on the site in the current folder, or the one you name with --path. Add --help to any of them for its options.
Sites
| Command | What it does |
|---|---|
studio create | Create a new local WordPress site and start it. |
studio list | List your sites and whether they are running. |
studio status | Show a site’s URL, PHP version and admin user. |
studio start | Start a site’s server. |
studio stop | Stop a running site. |
studio delete | Remove a site, with or without its files. |
WordPress
| Command | What it does |
|---|---|
studio wp <command> | Run any WP-CLI command against a site. No separate install. |
studio wp plugin install <slug> | Example: add a plugin from the directory. |
studio wp option get blogname | Example: read a setting. |
Previews
| Command | What it does |
|---|---|
studio preview create | Upload a temporary copy of a site and get a link to share. |
studio preview list | List a site’s preview links. |
studio preview update | Refresh a preview with your latest changes. |
studio preview delete | Take a preview down. |
Sync
| Command | What it does |
|---|---|
studio push | Push a local site to WordPress.com or Pressable, or a static copy to Spacefast with --remote-site spacefast. |
studio pull | Pull a live site down to a local copy. |
Backups
| Command | What it does |
|---|---|
studio import <file> | Import a .zip, .tar.gz, .sql, .wpress or WordPress export file. |
studio export | Export a full site, or only its database. |
studio export-static <dir> | Export a site as static HTML files. |
AI and agents
| Command | What it does |
|---|---|
studio code | Open Studio Code, the built-in agent, in your terminal. /connect adds an AI provider and /model switches models. |
studio mcp | Run the MCP server that Claude Code, Codex, ChatGPT, Cursor and Grok Build connect to. |
Interface
| Command | What it does |
|---|---|
studio ui | Start the Studio interface locally and open it in your browser. More about it. |
studio ui --port <number> | Serve it on another port. The default is 8081. |
studio ui --no-open | Start it without opening a browser tab. |
Account
| Command | What it does |
|---|---|
studio auth login | Sign in to WordPress.com for previews, publishing and AI credits. |
studio auth status | Show which account you are signed in with. |
studio auth logout | Sign out. |
Made for scripts and CI
Plain commands that any shell, Makefile or CI runner can call.
- No app required. The CLI runs on its own, on a laptop or a build machine.
- Same sites everywhere. A site you script shows up in the app, and the other way around.
- Nothing else to install. PHP, SQLite and WP-CLI ship with Studio.
# review.sh: a throwaway site for each branch
studio create --path "review-$BRANCH" --name "review-$BRANCH" --skip-browser
cd "review-$BRANCH"
studio wp theme activate my-theme
studio preview create
# when the branch merges
studio delete "review-$BRANCH"
Your agent runs it too
Studio Code and agents like Claude Code and Codex call this same CLI. You can read every step they take, and repeat it yourself.
# Claude Code
claude plugin marketplace add Automattic/studio-plugins
claude plugin install wp-studio@studio
# Codex
codex plugin add wp-studio@openai-curated-remote
Install in one line.
Free and open source, under GPLv2 or later.
curl -fsSL https://wordpress.studio/install.sh | bash
Windows (PowerShell):
irm https://wordpress.studio/install.ps1 | iex