mirror of
https://gitea.com/mcereda/oam.git
synced 2026-02-16 16:54:24 +00:00
82 lines
1.2 KiB
Markdown
82 lines
1.2 KiB
Markdown
# OpenCode
|
|
|
|
> TODO
|
|
|
|
Open source AI coding agent.
|
|
|
|
<!-- Remove this line to uncomment if used
|
|
## Table of contents <!-- omit in toc -->
|
|
|
|
1. [TL;DR](#tldr)
|
|
1. [Further readings](#further-readings)
|
|
1. [Sources](#sources)
|
|
|
|
## TL;DR
|
|
|
|
<details>
|
|
<summary>Setup</summary>
|
|
|
|
```sh
|
|
# Install
|
|
brew install 'anomalyco/tap/opencode' # or 'opencode'
|
|
docker run -it --rm 'ghcr.io/anomalyco/opencode'
|
|
mise use -g 'opencode'
|
|
nix run 'nixpkgs#opencode'
|
|
npm i -g 'opencode-ai@latest'
|
|
paru -S 'opencode-bin'
|
|
|
|
# Desktop app
|
|
brew install --cask 'opencode-desktop'
|
|
```
|
|
|
|
</details>
|
|
|
|
<!-- Uncomment if used
|
|
<details>
|
|
<summary>Usage</summary>
|
|
|
|
```sh
|
|
```
|
|
|
|
</details>
|
|
-->
|
|
|
|
<!-- Uncomment if used
|
|
<details>
|
|
<summary>Real world use cases</summary>
|
|
|
|
```sh
|
|
```
|
|
|
|
</details>
|
|
-->
|
|
|
|
## Further readings
|
|
|
|
- [Website]
|
|
- [Codebase]
|
|
- [Claude Code]
|
|
- [Gemini CLI]
|
|
|
|
### Sources
|
|
|
|
- [Documentation]
|
|
|
|
<!--
|
|
Reference
|
|
═╬═Time══
|
|
-->
|
|
|
|
<!-- In-article sections -->
|
|
<!-- Knowledge base -->
|
|
[Claude Code]: claude/claude%20code.md
|
|
[Gemini CLI]: gemini/cli.md
|
|
|
|
<!-- Files -->
|
|
<!-- Upstream -->
|
|
[Codebase]: https://github.com/anomalyco/opencode
|
|
[Documentation]: https://opencode.ai/docs
|
|
[Website]: https://opencode.ai
|
|
|
|
<!-- Others -->
|