Installation & Setup
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/getting-started/installation.md.
Requirements, creating a new app, and starting the local WordPress development environment.
Requirements
- Node.js 22 or newer and npm
- No Docker and no Rust toolchain required — the
typedpressnpm package downloads a prebuilt native compiler binary automatically.
Create a new application
npm create typedpress@0.3.0 my-app
cd my-app
npm run dev
create-typedpress creates a complete starter project with:
typedpress.config.tsdefining a syncednotescollection andsiteglobaltp/app/with a layout, home page, dynamic/notes/[slug]page, and a progressive<form action={greet}>content/notes/sample Markdown contentAGENTS.md,.mcp.json, and coding-agent skills generated viatypedpress init
Running locally
npm run dev invokes typedpress dev, which compiles your TypeScript, boots a local WordPress + SQLite server, activates the compiled plugins, and rebuilds automatically on file changes.
- Open the printed site URL to view your rendered TSX pages.
- Open
/wp-admin/new/to explore SpacePress Admin (or/wp-admin/for classic wp-admin). - Stop the dev server without deleting local data via
npm run stop(typedpress dev stop).
Adding modules
Add first-party modules as source files you own at any time:
npx typedpress add shop # WooCommerce storefront & catalog
npx typedpress add db # SQL table starter
npx typedpress add api-reference # /api documentation pages from OpenAPI