CLI & Deployment
For AI coding agents: start with /start.md (build playbook) and /rules.md (compiler rules), see /llms.txt for the complete documentation index, or read this page as Markdown at /md/docs/operations/cli-and-deploy.md.
Build, check, export, push, doctor, plugin packaging, and production hosting options.
Core build & deploy commands
typedpress dev/dev stop/dev status— manage the local WordPress + SQLite site.typedpress check [--json] [--frozen]— compile and report diagnostics without writing output.typedpress build— emit WordPress plugins intotp/dist/wp-content/plugins/, migrations, types, client, and OpenAPI.typedpress export [--site <url>]— prebuildtp/app/intotp/dist/static/(output: "static").typedpress plugin— package an uploadabletypedpress.zipplugin forwp-admin.typedpress login <site-url>&typedpress push— authenticate via WordPress Application Passwords and deploy directly to a remote WordPress site.typedpress doctor [--links]— verify build integrity, live site plugins, and crawl internal links/anchors.
Site operations (WP-CLI bridge)
Target local dev (default) or any remote site (--site <dir | workspace | @alias>):
typedpress wp <args...>— run any WP-CLI command.typedpress migrate,seed,jobs,staged,publish-due,identity,find,insert,update,delete,action,abilities,run.
Hosting & deployment guides
SpacePress runs anywhere WordPress 7.1+ and PHP 8.2+ run:
- Deploy on Spacefast
- Deploy on Pressable & WordPress.com (WP Cloud)
- Deploy on Self-hosted WordPress — server requirements & everywhere else
Sealed mode & plugin lockfile
Declare third-party WordPress plugins in defineConfig({ plugins: { ... }, sealed: true }). Exact versions and SHA-256 checksums are locked in tp/_generated/wp-plugins.lock.json, and sealed mode refuses activation of undeclared plugins.