[PR #6405] docs: add run from source guide #11884

Closed
opened 2026-02-16 18:16:49 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/6405

State: closed
Merged: Yes


Updated CONTRIBUTING.md with documentation for running OpenCode from source on a different repository. The changes include:

  1. Running against a different directory (lines 37-49): Documents how to use bun dev <directory> and bun dev .

  2. Building a local executable (lines 51-65): Documents the build script ./packages/opencode/script/build.ts --single and how to run the compiled binary

These additions address the missing documentation reported in the issue, making it clear how to run OpenCode against external repositories without having to search Discord or related PRs.

Closes #6404

New%20session%20-%202025-12-29T23%3A03%3A52.145Z
opencode session  |  github run

**Original Pull Request:** https://github.com/anomalyco/opencode/pull/6405 **State:** closed **Merged:** Yes --- Updated `CONTRIBUTING.md` with documentation for running OpenCode from source on a different repository. The changes include: 1. **Running against a different directory** (lines 37-49): Documents how to use `bun dev <directory>` and `bun dev .` 2. **Building a local executable** (lines 51-65): Documents the build script `./packages/opencode/script/build.ts --single` and how to run the compiled binary These additions address the missing documentation reported in the issue, making it clear how to run OpenCode against external repositories without having to search Discord or related PRs. Closes #6404 <a href="https://opencode.ai/s/cdZdPmOS"><img width="200" alt="New%20session%20-%202025-12-29T23%3A03%3A52.145Z" src="https://social-cards.sst.dev/opencode-share/TmV3IHNlc3Npb24gLSAyMDI1LTEyLTI5VDIzOjAzOjUyLjE0NVo=.png?model=opencode/claude-opus-4-5&version=1.0.208&id=cdZdPmOS" /></a> [opencode session](https://opencode.ai/s/cdZdPmOS)&nbsp;&nbsp;|&nbsp;&nbsp;[github run](/sst/opencode/actions/runs/20584602117)
yindo added the pull-request label 2026-02-16 18:16:49 -05:00
yindo closed this issue 2026-02-16 18:16:49 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#11884