Open Source WordPress CLI
Run WordPress locally.
Deploy anywhere.
Plak CLI is the simplest way to run local WordPress sites and deploy them to any cloud — instant environments, built-in HTTPS, and seamless workflows from your terminal.
curl -fsSL https://plak.sh/install | bashbrew tap plakio/plak-cli
brew install plak-cliplak add myblog
Downloading WordPress…
✓ Site ready → https://myblog.localhost
plak login myblog
✓ One-time login: https://myblog.localhost/wp-login?token=a8f…
plak share myblog
Starting Cloudflare tunnel…
✓ Public URL: https://funny-reef-42.trycloudflare.com
plak list
myblog.localhost wp 264 MB
woo.localhost wp 1.2 GB
lms.localhost wp 720 MB
static.localhost static 24 MBFor Agent Users
Claude, Codex, OpenCode, Pi… just paste this.
“Look at https://plak.sh and set up a new WordPress site locally using Plak CLI.”Or install de Plak CLI skill: plak skill install <agent>
The Whole CLI
Short commands. No docs-diving.
SITE MANAGEMENT 8 COMMANDS
plak add <name> [–plain]
Fresh WordPress install at name.localhost. –plain for static.
plak delete <name> [–force]
Tear down the directory and database in one go.
plak rename <old> <new>
Renames the site, its DB, and runs wp search-replace.
plak list [–totals]
Every site Plak manages. –totals adds disk usage.
plak login <site>
Generates a one-time admin login URL. No password juggling.
plak path <name>
Show the local path for a site.
plak url <name>
Show the public URL for a site.
plak log [site] [-f]
Tail error logs. -f follows in real time.
MIGRATION 2 COMMANDS
plak pull [–proxy-uploads]
Pulls a remote WordPress site down via SSH.
plak push
Pushes a local Plak site up to a remote WordPress host.
SERVER MANAGEMENT 4 COMMANDS
plak server list
List all configured SSH server aliases.
plak server add
Add a new SSH server alias interactively.
plak server connect
Connect to a server by its alias.
plak server delete
Remove an SSH server alias.
DOMAINS 3 COMMANDS
plak domain list
List all local domain entries in /etc/hosts.
plak domain add
Add a local domain to /etc/hosts with backup.
plak domain delete
Remove a local domain from /etc/hosts with backup.
SSH KEYS 4 COMMANDS
plak sshkey list
List all SSH keys in ~/.ssh.
plak sshkey view [key-name-or-path]
View details of a specific SSH key.
plak sshkey create
Generate a new SSH key pair interactively.
plak sshkey delete
Remove an SSH key from ~/.ssh.
NETWORK ACCESS 5 COMMANDS
plak share [site]
Cloudflare Tunnel → public URL you can text a client in seconds.
plak lan <enable|disable|status|trust> [site]
Expose sites to your phone via Bonjour/mDNS.
plak tailscale <enable|disable|status>
Every site reachable from any device on your tailnet.
plak wsl-hosts
Print PowerShell snippet to update Windows hosts file.
plak trust
Install local root CA into OS trust store. No more Not Secure.
DATABASE & SERVICES 2 COMMANDS
plak db backup
Snapshots every site’s database to timestamped .sql files.
plak db list
All WordPress DB credentials at a glance.
CONFIGURATION 5 COMMANDS
plak ports [–http PORT] [–https PORT]
Run alongside Local, Studio, or DevKinsta without port fights.
plak memory [set <value>] [–yes]
Audit PHP memory_limit across every ini Plak loads.
plak directive <add|update|delete|list> [site]
Manage Caddy directives per site.
plak proxy <add|list|delete>
Manage reverse proxy mappings.
plak upgrade
Self-update Plak CLI to the latest version.
Dashboard
When the terminal is not handy, open the web dashboard at https://plak.localhost.
Every site at a glance.

Sites Overview
See all your local WordPress sites, their status, and quick actions. Filter with search, sort by name or size.
One-Click Login
Access any WordPress admin panel with a single click. No password juggling required.
Per-Site Stats
Disk usage, database size, and last modified time for every site you manage.
Premium Support
The best of both worlds. Use it free forever, or upgrade for premium support.
Free
All core features to run and manage local WordPress sites.
- Local WordPress sites
- Built-in HTTPS
- SSH server aliases
- Local domain management
- Database backups
- Web dashboard
- Community support
- Open source (MIT)
Premium
$10
/ month
Additional premium support.
- Everything in Free
- Premium support
FAQ
Plak CLI simplifies WordPress and cloud infrastructure workflows with simple, efficient commands.
Have questions? Feel free to reach out anytime.
What is Plak CLI?
Plak CLI is an open-source developer tool for running WordPress locally and connecting your projects to cloud infrastructure workflows from the terminal.
Do I need Docker to use Plak CLI?
No. Plak CLI is designed to provide a simpler local development experience without requiring Docker configuration.
Can I use Plak CLI with my own cloud provider?
Yes. Plak CLI supports multicloud workflows and can work with providers like AWS, DigitalOcean, Hetzner, Vultr, and more. For the best experience, we recommend using it together with Plak.
Is Plak CLI free?
Yes. Plak CLI is free and open-source software released under the MIT License.
Contact
Questions about Plak CLI?
We’d love to hear from you.
Stay updated
Product updates. No spam.