mirror of
https://github.com/sst/opencode.git
synced 2025-08-04 13:30:52 +00:00
add more installation options
This commit is contained in:
parent
aaf0bc14ba
commit
d043526200
1 changed files with 28 additions and 1 deletions
29
README.md
29
README.md
|
@ -22,8 +22,35 @@ OpenCode is a Go-based CLI application that brings AI assistance to your termina
|
|||
|
||||
## Installation
|
||||
|
||||
### Using the Install Script
|
||||
|
||||
```bash
|
||||
# Install the latest version
|
||||
curl -fsSL https://opencode.ai/install | bash
|
||||
|
||||
# Install a specific version
|
||||
curl -fsSL https://opencode.ai/install | VERSION=0.1.0 bash
|
||||
```
|
||||
|
||||
### Using Homebrew (macOS and Linux)
|
||||
|
||||
```bash
|
||||
brew install opencode-ai/tap/opencode
|
||||
```
|
||||
|
||||
### Using AUR (Arch Linux)
|
||||
|
||||
```bash
|
||||
# Using yay
|
||||
yay -S opencode-bin
|
||||
|
||||
# Using paru
|
||||
paru -S opencode-bin
|
||||
```
|
||||
|
||||
### Using Go
|
||||
|
||||
```bash
|
||||
# Coming soon
|
||||
go install github.com/opencode-ai/opencode@latest
|
||||
```
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue