mirror of
https://gitea.com/mcereda/oam.git
synced 2026-02-16 08:44:25 +00:00
refactor(kb): more ai
This commit is contained in:
81
knowledge base/ai/opencode.md
Normal file
81
knowledge base/ai/opencode.md
Normal file
@@ -0,0 +1,81 @@
|
||||
# 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 -->
|
||||
Reference in New Issue
Block a user