OpenCode CLI
Installs the OpenCode CLI for the Dev Container user using OpenCode's native installer and ensures `opencode` is on the PATH.
Install
Add to devcontainer.json
"features": {
"ghcr.io/wyrd-company/devcontainers/opencode-cli:1": {}
} README
OpenCode CLI
Installs the OpenCode CLI for the resolved Dev Container user using OpenCode’s native installer and ensures opencode is available on the container PATH.
The executable, updater, and OpenCode state remain owned by the user rather than root. The Feature does not require Homebrew.
Options
| Option | Type | Default | Description |
|---|---|---|---|
version | string | latest | OpenCode CLI version to install. Use latest or a specific version like 1.18.25. |
Example usage
{
"features": {
"ghcr.io/wyrd-company/devcontainers/opencode-cli:1": {}
}
}
Trademarks
This feature is not affiliated with or endorsed by Anomaly. OpenCode and its logo are trademarks of Anomaly. All trademarks and copyrights belong to their holders. The logo is used only to identify the software that this feature installs.
Logo: the opencode mark from opencode-logo-light-square.svg (MIT), also offered on the opencode brand page. No trademark terms are published.
Releases
Features
- Installs the OpenCode CLI for the Dev Container user with OpenCode’s native installer. Homebrew is not required.
- Adds
opencodeto the PATH. The executable and its state stay owned by the user, not root. - Option
versionselects the version to install.