pkg.soopen package index

brew / rank 202

Install opencode with Homebrew, chocolatey, MacPorts, Nix, pacman, scoop, winget

AI coding agent, built for the terminal. Version 1.18.10 via Homebrew; verified 2026-08-01. Also installable with nix: nix profile install nixpkgs#opencode.

agent safety

Agent safety answer

opencode is an agent-facing coding tool that can read files and invoke local developer workflows.

Credential access

May access repository files, tool configs, and environment variables available to the agent session.

Remote mutation

Can trigger local tools that mutate Git, cloud, or package state.

Publish/artifact risk

Can generate code or commands that become release artifacts.

Recommended control

Run under containment and gate sensitive tool actions.

Agent-use guidance

Use with scanned worktrees; require approval before commands that expose credentials or mutate remote systems.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install opencode

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install opencode

MacPorts ports tree · llm/opencode/Portfile · source: api.github.com

Linux

Nixverified · 92%
nix profile install nixpkgs#opencode

nixpkgs package indexes · pkgs/by-name/op/opencode/package.nix · source: api.github.com

Arch Linux pacmanverified · 92%
sudo pacman -S opencode

Arch Linux sync databases · opencode · source: geo.mirror.pkgbuild.com

Windows

Chocolateyverified · 92%
choco install opencode

Chocolatey community package catalog · opencode · source: community.chocolatey.org

Scoopverified · 92%
scoop install main/opencode

Scoop official bucket manifest trees · bucket/opencode.json · source: api.github.com

Windows Package Managerverified · 92%
winget install --id SST.OpenCodeDesktop -e

Windows Package Manager source index · SST.OpenCodeDesktop · source: cdn.winget.microsoft.com

overview

Package summary

AI coding agent, built for the terminal

Commands and aliases

  • opencode

history

Project history and usage

OpenCode is an open-source AI coding agent distributed for terminal, IDE, and desktop workflows. The project positions the CLI as a coding assistant with a native terminal interface, LSP awareness, multi-session work, session sharing, and support for many model providers.

Project history

The official documentation and repository present OpenCode as a rapidly distributed developer tool rather than a project with a deeply documented pre-release history. Its packaging moved across the JavaScript ecosystem, Homebrew, Arch, Windows package managers, Nix, and a beta desktop app, which reflects the AI-coding-agent pattern of shipping a local CLI plus integrations rather than only a hosted service.

The repository installation notes distinguish the project-maintained Homebrew tap from the Homebrew core formula, saying the tap is recommended for faster updates while `brew install opencode` is maintained by Homebrew and updated less frequently. That distinction matters because the package in this batch is the Homebrew formula rather than the upstream tap.

Adoption history

OpenCode's own site makes large adoption claims, including GitHub stars, contributors, commits, and monthly developer usage. Those are project-published metrics rather than independent measurements, but they show how the project presents itself: as a mainstream open-source alternative in the coding-agent ecosystem.

How it is used

Developers use `opencode` as an interactive agent for repository work: asking questions, requesting features, making code changes, undoing changes, and running parallel sessions. The docs list API keys as a prerequisite and describe use from a modern terminal emulator, with desktop and IDE forms for users who do not want only a TUI.

Why package nerds care

OpenCode is package-nerdy because it is a CLI front end over a fast-moving agent stack: releases must coordinate model-provider auth, terminal UI behavior, editor integration, desktop artifacts, and package managers that update at different speeds. Its Homebrew formula is part of a broader install matrix rather than the single canonical upstream channel.

security posture

No protected-tool coverage found yet

No matching local secret-handling manifest was found for opencode. Nucleus package metadata is still published here so future coverage has a stable package URL.

Install behavior

  • No Homebrew bottle metadata was recorded.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

local files

Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.

Credential files

Credential-bearing paths to review before unattended agent runs.

macOS
~/Library/Application Support/opencode/auth.json~/Library/Application Support/opencode/account.json
Unix
$XDG_DATA_HOME/opencode/auth.json$XDG_DATA_HOME/opencode/account.json~/.local/share/opencode/auth.json~/.local/share/opencode/account.json

executables

Installed executables

CommandKindExposureNote
opencodeexecutableindexed executableDiscovered from the local executable index.

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-08-03
manager version1.18.10
manager updated2026-08-01
local dataunknown
upstreamnot available
latest detectednot detected
  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:opencode
Version1.18.10
Package managerHomebrew
Homepagehttps://opencode.ai
Last updated2026-08-01T03:38:36Z
Pulseupdated
Bottlenot recorded
Servicenone declared

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Nix95%

opencode

nix profile install nixpkgs#opencode
  • normalized package name match
  • Matched by: Opencode
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/op/opencode/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
pacman95%

opencode 1.18.11-1

The open source coding agent

https://github.com/anomalyco/opencode

sudo pacman -S opencode
  • License: MIT
  • Architecture: x86_64
  • 5 dependencies
  • 2 optional deps
  • normalized package name match
  • Matched by: Opencode
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: opencode from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
MacPorts95%

opencode

sudo port install opencode
  • normalized package name match
  • Matched by: Opencode
MacPorts ports tree · api.github.com · MacPorts ports tree: llm/opencode/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
Chocolatey95%

opencode

choco install opencode
  • normalized package name match
  • Matched by: Opencode
Chocolatey community package catalog · community.chocolatey.org · Chocolatey community package catalog: opencode from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','nvs'
Scoop95%

main/opencode

scoop install main/opencode
  • normalized package name match
  • Matched by: Opencode
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/opencode.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
winget95%

SST.OpenCodeDesktop

winget install --id SST.OpenCodeDesktop -e
  • normalized package name match
  • Matched by: Opencode
Windows Package Manager source index · cdn.winget.microsoft.com · Windows Package Manager source index: SST.OpenCodeDesktop from https://cdn.winget.microsoft.com/cache/source.msix
winget95%

SST.opencode

winget install --id SST.opencode -e
  • normalized package name match
  • Matched by: Opencode
Windows Package Manager source index · cdn.winget.microsoft.com · Windows Package Manager source index: SST.opencode from https://cdn.winget.microsoft.com/cache/source.msix

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • cross-ecosystem install command graph
  • curated agent safety answer
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • pkg.so package database
  • pkgdb category and tag curation