How to build locally #2297

Closed
opened 2026-02-16 17:35:02 -05:00 by yindo · 3 comments
Owner

Originally created by @nuneyep on GitHub (Oct 27, 2025).

Question

I am interested in building opencode locally to just explore the codebase, change and try out some things for my knowledge. Are there any guidelines on how to build opencode from source code?

Originally created by @nuneyep on GitHub (Oct 27, 2025). ### Question I am interested in building opencode locally to just explore the codebase, change and try out some things for my knowledge. Are there any guidelines on how to build opencode from source code?
yindo closed this issue 2026-02-16 17:35:02 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Oct 27, 2025):

This issue might be a duplicate of existing issues. Please check:

  • #3170: Similar question about building OpenCode locally (though Windows-specific)

Also, the development setup instructions are already documented in our CONTRIBUTING.md file which explains how to build and run OpenCode locally:

bun install
bun dev

Feel free to ignore if these don't address your specific case.

@github-actions[bot] commented on GitHub (Oct 27, 2025): This issue might be a duplicate of existing issues. Please check: - #3170: Similar question about building OpenCode locally (though Windows-specific) Also, the development setup instructions are already documented in our [CONTRIBUTING.md](https://github.com/sst/opencode/blob/main/CONTRIBUTING.md#developing-opencode) file which explains how to build and run OpenCode locally: ```bash bun install bun dev ``` Feel free to ignore if these don't address your specific case.
Author
Owner

@rekram1-node commented on GitHub (Oct 27, 2025):

https://github.com/sst/opencode/blob/dev/CONTRIBUTING.md#developing-opencode

this should be helpful :)

@rekram1-node commented on GitHub (Oct 27, 2025): https://github.com/sst/opencode/blob/dev/CONTRIBUTING.md#developing-opencode this should be helpful :)
Author
Owner

@rekram1-node commented on GitHub (Oct 27, 2025):

Lmk if you run into any issues! Happy to help

@rekram1-node commented on GitHub (Oct 27, 2025): Lmk if you run into any issues! Happy to help
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#2297