Repository navigation
Description
Description
I cannot install the github bot https://github.com/anomalyco/opencode/blob/dev/github/README.md. command as mentioned in README.md (opencode github install) does not work
`[redacted]>opencode github install
DESCRIPTION
OpenCode command line interface
USAGE
opencode [flags] []
ARGUMENTS
directory string Directory to start OpenCode in (optional)
FLAGS
--standalone Run with a private server instead of the background service
--server string Connect to a server URL instead of the background service
--auto Auto-approve permissions that are not explicitly denied
--continue, -c Continue the last session
--session, -s string Session ID to continue, or to create if it does not exist
--prompt string Prompt to use
GLOBAL FLAGS
--help, -h Show help information
--version, -v Show version information
--wizard Start wizard mode for a command
--completions <bash|zsh|fish|sh> Print shell completion script (choices: bash, zsh, fish, sh)
--log-level <all|trace|debug|info|warn|warning|error|fatal|none> Sets the minimum log level (choices: all, trace, debug, info, warn, warning, error, fatal, none)
--print-logs Print logs to stderr (server logs require --standalone)
SUBCOMMANDS
upgrade, update Upgrade OpenCode to the latest or a specific version
uninstall Uninstall OpenCode, keeping session data, configuration, and state
acp Start an Agent Client Protocol server
api Make a request to the running server
debug Debugging and troubleshooting tools
auth manage integrations and credentials
mcp Manage MCP (Model Context Protocol) servers
plugin Manage plugins
models List all available models
stats Show shareable usage statistics
mini Start the minimal interactive interface
run Run OpenCode with a message
session Manage sessions
service Manage the background server
reload Reload configuration
pair Print one-time links to connect a browser or app
serve Start the v2 API and web server
ERROR
Unexpected positional argument: "install"`
Plugins
N/A
OpenCode version
n/A
Steps to reproduce
explained above, cannot install
Screenshot
N/A
Operating System
Windows 11
Terminal
Windows Terminal
Activity
opencode-agent commentedon Oct 21, 2026
Thanks for the report. I reproduced this on the latest release, v2.1.2, since no version was given:
opencode github install(andopencode github run) prints the CLI help and fails withUnexpected positional argument: "install". It still happens on the latestdev(6dfc681). The v2 CLI has nogithubcommand, but the GitHub README and the docs still tell you to run it. The script below reproduces it.Until this is sorted out, you can set things up by hand with the manual steps in the same README: install the opencode-agent GitHub app, add the workflow file to
.github/workflows/, and add your provider API key as a repository secret.Related: #57158 (moving the GitHub Action and workflows to the v2 CLI).
Reproduction script (repro.sh)
Run it:
bash repro.shzzz-creator commentedon Oct 21, 2026
/opencode how do I add an opencode provider. example only shows anthropic
Tarquinen commentedon Oct 27, 2026
Thanks for the report! We no longer support the OpenCode GitHub Action or its GitHub app, and the action was removed from this repo in #59032. That's why v2 has no
opencode github installcommand, and it won't be added back. Closing this issue.— from 𝕺𝖕𝖊𝖓𝕮𝖔𝖉𝖊
sixro commentedon Nov 2, 2026
Hi, is it correct then that the instructions found on this page are wrong? 🙏