on main help sign in
update readme
b04faf0Kujtim Hoxha
.goreleaser.yml+15−15
@@ -33,21 +33,21 @@ checksum:
33 name_template: "checksums.txt"
33 name_template: "checksums.txt"
34snapshot:
34snapshot:
35 name_template: "0.0.0-{{ .Timestamp }}"
35 name_template: "0.0.0-{{ .Timestamp }}"
36−aurs:
36+# aurs:
37− - name: opencode
37+# - name: opencode
38− homepage: "https://github.com/opencode-ai/opencode"
38+# homepage: "https://github.com/opencode-ai/opencode"
39− description: "terminal based agent that can build anything"
39+# description: "terminal based agent that can build anything"
40− maintainers:
40+# maintainers:
41− - "kujtimiihoxha <kujtimii.h@gmail.com>"
41+# - "kujtimiihoxha <kujtimii.h@gmail.com>"
42− license: "MIT"
42+# license: "MIT"
43− private_key: "{{ .Env.AUR_KEY }}"
43+# private_key: "{{ .Env.AUR_KEY }}"
44− git_url: "ssh://aur@aur.archlinux.org/opencode-bin.git"
44+# git_url: "ssh://aur@aur.archlinux.org/opencode-ai.git"
45− provides:
45+# provides:
46− - opencode
46+# - opencode
47− conflicts:
47+# conflicts:
48− - opencode
48+# - opencode
49− package: |-
49+# package: |-
50− install -Dm755 ./opencode "${pkgdir}/usr/bin/opencode"
50+# install -Dm755 ./opencode "${pkgdir}/usr/bin/opencode"
51brews:
51brews:
52 - repository:
52 - repository:
53 owner: opencode-ai
53 owner: opencode-ai
README.md+2−12
@@ -26,10 +26,10 @@ OpenCode is a Go-based CLI application that brings AI assistance to your termina
26
26
27```bash
27```bash
28# Install the latest version
28# Install the latest version
29−curl -fsSL https://opencode.ai/install | bash
29+curl -fsSL https://raw.githubusercontent.com/opencode-ai/opencode/refs/heads/main/install | bash
30
30
31# Install a specific version
31# Install a specific version
32−curl -fsSL https://opencode.ai/install | VERSION=0.1.0 bash
32+curl -fsSL https://raw.githubusercontent.com/opencode-ai/opencode/refs/heads/main/install | VERSION=0.1.0 bash
33```
33```
34
34
35### Using Homebrew (macOS and Linux)
35### Using Homebrew (macOS and Linux)
@@ -38,16 +38,6 @@ curl -fsSL https://opencode.ai/install | VERSION=0.1.0 bash
38brew install opencode-ai/tap/opencode
38brew install opencode-ai/tap/opencode
39```
39```
40
40
41−### Using AUR (Arch Linux)
42−
43−```bash
44−# Using yay
45−yay -S opencode-bin
46−
47−# Using paru
48−paru -S opencode-bin
49−```
50−
51### Using Go
41### Using Go
52
42
53```bash
43```bash