anomalyco / anomalyco/opencode
Add CLI system packages (DEB, RPM, macOS pkg) for amd64 and arm64
@jlongster is already working on this.
Since Aug 27, 2026.
- Dominant language
- TypeScript
- Stars
- 209k
- Forks
- 27.5k
- PR merge metrics
- PR metrics pending
Description
Is your feature request related to a problem?
The current primary install method for the opencode CLI is curl -fsSL https://opencode.ai/install | bash. While convenient, piping scripts to bash is risky, hard to reproduce, and difficult to manage long-term. The desktop app already ships .deb and .rpm packages via electron-builder, but the CLI has no native system packages.
Describe the solution you'd like
Add proper system packages for the CLI binary to each release:
.debfor amd64 and arm64 (Debian/Ubuntu).rpmfor x86_64 and aarch64 (Fedora/RHEL/openSUSE).pkgfor x64 and arm64 (macOS, signed and notarized)
Packages should include the binary, shell completions, and declare ripgrep as a dependency. They should be built in the existing publish workflow and uploaded to GitHub Releases alongside the current assets.
Additional context
The curl|bash script and all existing install methods (npm, Homebrew, AUR, Nix, Docker) should remain unchanged. This adds system packages as an additional install option.
I have verified this feature doesn't already exist
- I have searched the existing issues and this feature has not been requested before
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.