Skip to content
wp staging logo
  • Features
    • All Features
    • Videos
    • WP Staging CLI
    • WP Staging Desktop
  • What’s New
  • Get Help
    • Documentation
    • Contact Support
    • Recommended Tools
    • Blog
  • Pricing
  • My Account
  • Buy Pro
  • English
    • English
    • Deutsch
    • Italiano
    • Español
    • Français
    • Português
    • Polski
    • 日本語

WP Staging CLI

Install and use WP Staging CLI to automate backups, restores, and local Docker sites from the command line.

Get Started

  • Install WP Staging CLI Set up the command-line tool.
  • Register Your License Activate WP Staging CLI with your license key.
  • Configuration & Environment Configure the CLI environment.

Backups & Restore

  • Create a Local Copy of Your Site Spin up a local copy of your WordPress site.
  • Extract a Backup Pull files and database from a .wpstg backup.
  • Extract Backups on Linux, macOS, Windows Command-line extraction on any operating system.
  • Restore a Site From a Backup Restore WordPress from a backup via the CLI.
  • Inspect a Backup Check backup contents and metadata without extracting.

Local Docker Sites

  • Manage Docker WordPress Sites Create and manage local Docker-based sites.
  • Switch PHP & WordPress Versions Change versions in place, no reinstall.
  • Multisite Networks Locally Create and restore multisite networks.
  • Plain PHP & Static Sites Docker sites without WordPress.
  • Choose Apache or MySQL Match the production web server and database.
  • Docker Configuration Configure Docker for local sites.
  • Control Docker Containers Start, stop, and manage containers.

Automation

  • Automate With JSON Output Machine-readable output for scripts and CI.
  • Run WP-CLI Commands WP-CLI inside the site container.
  • Passwordless wp-admin Sign-In One-time login links for local sites.

Maintenance

  • Cleanup, Maintenance & Uninstall Clean up and remove the CLI.
  • More results...

    Generic selectors
    Exact matches only
    Search in title
    Search in content
    Post Type Selectors
    Search in posts
    Search in pages
    Filter by Categories
    Uncategorized
    Blog
    Tutorials
    Knowledge Base
    News
    Backup
    Security
    SEO
    Troubleshooting
    Release Notes
  • Categories

    • Installation
    • Purchase & License
    • Migration
    • Remote Sync
    • Backup & Restore
    • Restore Tool
    • Staging Sites
    • WP Staging CLI
    • WP Staging Desktop
    • WP-CLI Commands
    • Multisites
    • Magic Login Links
    • Troubleshooting
    • Frequently Asked Questions
    • Knowledgebase
WP Staging logo
Join Our Newsletter

Get WP Staging release notes, special offers, news and tutorials in your inbox.

Subscriber Form
Company
  • Quality Assurance
  • Our Story
  • Reviews
  • About Us
  • Open Jobs
  • Contact us
Resources
  • All Pro Features
  • WP Staging CLI
  • WP Staging Desktop
  • FAQ
  • Documentation
  • Blog
  • Refund Policy
  • Privacy Policy
  • Security Policy
  • Status
Partners
  • Affiliate Program
  • Press Kit
  • Compatible Hosts
  • Recommended Tools
Top Articles
  • How to Backup WordPress Automatically
  • How to Backup WordPress Manually
  • Transfer WordPress to New Host
  • Activate WordPress Debug Mode
  • Backup Website to Amazon S3
  • A Developer Short Story

  • English
    • English
    • Deutsch
    • Italiano
    • Español
    • Français
    • Português
    • Polski
    • 日本語
  • Terms
  • Imprint