Prerequisites
Before you start, you’ll need Node.js 20 or later installed.1. Install the CLI
Install thekeystroke command globally.
2. Connect the CLI
Link the CLI to your Keystroke account.3. Scaffold a new project
Scaffold a new project from the default template.keystroke.config.ts, a committed tsconfig.json, a src/ directory with an example agent, and an AGENTS.md guide so your coding agent knows how Keystroke works. Lint, typecheck, and test run through the CLI — projects do not declare oxlint, TypeScript, vitest, or @types/node.
Your local codebase is where you build. Your platform project is where Keystroke runs the deployed version for your team.
4. Deploy to the platform
List your platform projects:dist/ artifact. Your agents, workflows, and triggers now run in the cloud platform. Pass --project <slug> to deploy to a different project without changing keystroke.config.ts.
You do not need to run keystroke lint, keystroke typecheck, or keystroke build first — keystroke deploy runs those checks automatically and fails if anything is wrong.