[OpenCode logo]
AI
[Discord]
[npm]
[]
English |
|
|
|
Deutsch |
Espaol |
Franais |
Italiano |
Dansk |
|
Polski |
|
Bosanski |
|
Norsk |
Portugus (Brasil) |
|
Trke |
|
|
|
Ting Vit
[](https://opencode.ai)
---
###
```bash
# YOLO
curl -fsSL https://opencode.ai/install | bash
#
npm i -g opencode-ai@latest # bun/pnpm/yarn
scoop install opencode # Windows
choco install opencode # Windows
brew install anomalyco/tap/opencode # macOS Linux ( )
brew install opencode # macOS Linux (brew formula )
sudo pacman -S opencode # Arch Linux (Stable)
paru -S opencode-bin # Arch Linux (Latest from AUR)
mise use -g opencode #
nix run nixpkgs#opencode # github:anomalyco/opencode
```
> [!TIP]
> 0.1.x
### ()
OpenCode [](https://github.com/anomalyco/opencode/releases) [opencode.ai/download](https://opencode.ai/download)
| | |
| --------------------- | ---------------------------------- |
| macOS (Apple Silicon) | `opencode-desktop-mac-arm64.dmg` |
| macOS (Intel) | `opencode-desktop-mac-x64.dmg` |
| Windows | `opencode-desktop-windows-x64.exe` |
| Linux | `.deb`, `.rpm`, AppImage |
```bash
# macOS (Homebrew)
brew install --cask opencode-desktop
# Windows (Scoop)
scoop bucket add extras; scoop install extras/opencode-desktop
```
####
:
1. `$OPENCODE_INSTALL_DIR` -
2. `$XDG_BIN_DIR` - XDG Base Directory Specification
3. `$HOME/bin` - ()
4. `$HOME/.opencode/bin` -
```bash
#
OPENCODE_INSTALL_DIR=/usr/local/bin curl -fsSL https://opencode.ai/install | bash
XDG_BIN_DIR=$HOME/.local/bin curl -fsSL https://opencode.ai/install | bash
```
###
OpenCode `Tab`
- **build** -
- **plan** -
-
- bash
-
**general**
`@general`
[](https://opencode.ai/docs/agents)
###
OpenCode [****](https://opencode.ai/docs)
###
OpenCode [](./CONTRIBUTING.md) Pull Request
### OpenCode
OpenCode "opencode" "opencode-dashboard" "opencode-mobile" README OpenCode
---
**** [Discord](https://discord.gg/opencode) | [X.com](https://x.com/opencode)