#6235: fix: from source development command
docs
Since pnpm build only compiles the project files into the dist/ directory but does not install the openclaw binary to your system's global PATH, the command openclaw explicitly will not be found in your terminal.
<!-- greptile_comment -->
<h2>Greptile Overview</h2>
<h3>Greptile Summary</h3>
This PR updates the “From source (development)” instructions to run onboarding via `pnpm openclaw ...` instead of relying on a globally installed `openclaw` binary, aligning the docs with the fact that `pnpm build` produces `dist/` output but doesn’t put `openclaw` on PATH.
Change is localized to `docs/start/getting-started.md` and improves the out-of-the-box developer experience when building/running OpenClaw directly from the repo.
<h3>Confidence Score: 4/5</h3>
- This PR is safe to merge and only adjusts documentation guidance.
- The change is a small docs-only update that makes source-development instructions more accurate; the only risk is minor user confusion if adjacent examples use different invocation styles.
- docs/start/getting-started.md
<!-- greptile_other_comments_section -->
<sub>(2/5) Greptile learns from your feedback when you react with thumbs up/down!</sub>
**Context used:**
- Context from `dashboard` - CLAUDE.md ([source](https://app.greptile.com/review/custom-context?memory=fd949e91-5c3a-4ab5-90a1-cbe184fd6ce8))
- Context from `dashboard` - AGENTS.md ([source](https://app.greptile.com/review/custom-context?memory=0d0c8278-ef8e-4d6c-ab21-f5527e322f13))
<!-- /greptile_comment -->
Most Similar PRs
#8203: fix clawdbot references
by anton-roos · 2026-02-03
82.6%
#17916: [ fix ] : correct config directory path during onboarding
by Dijo-404 · 2026-02-16
81.0%
#10248: fix(update): default dev checkout path to ~/openclaw
by kimgyu · 2026-02-06
80.8%
#11915: Docs: Docker + reverse proxy deployment notes and pairing pitfalls
by walshd1 · 2026-02-08
79.4%
#11048: fix: address repository issues (env, author, CI comments, security ...
by cavula · 2026-02-07
79.2%
#10894: Docs: fix legacy branding, add config reference, expand cron troubl...
by biv0711 · 2026-02-07
78.8%
#11951: Prepending Windows Node to PATH didn’t help
by tranhoangtu-it · 2026-02-08
78.6%
#18792: docs: add macOS source-run troubleshooting for setup/auth issues
by yash27-lab · 2026-02-17
78.6%
#8509: docs: add docs CONTRIBUTING.md
by ethanpalm · 2026-02-04
78.1%
#7083: 说明文档
by 1213718318 · 2026-02-02
78.0%