OpenClaw EnterpriseDOCSGitHub

Local platform development

Set up a checkout to change the control plane, console, CLI, or Drivers. The first-change walkthrough edits and runs CLI help without a database, controller, or account.

Prepare the checkout

You need Git, Node.js 24 or newer, the pnpm version pinned in package.json, and the Go version in go.mod. In a clean checkout, install the pinned dependencies:

sh
pnpm install --frozen-lockfile

This sets up the repository's pre-push hook unless a custom hook configuration prevents it. Read the checkout and hook policy before changing shared dependencies or hook configuration.

Run the platform when your change needs it

Choose checks for your change

Use local checks for linting, formatting, types, and focused code checks. New platform functionality also needs integration coverage through the workflow that uses it; the integration guide lists suites and required infrastructure. The CI guide explains which checks run on pull requests.

For documentation or docs-site presentation changes, use the documentation checks; do not add or run tests for those changes. Follow the pull request policy and record the checks you ran, including anything skipped or unavailable.

Search documentation