Repository navigation
Closed as not planned
Closed as not planned
Copy link
Description
Details
- OS: Arch Linux
- Shell: bash 5.3.9(1)-release
- Terminal: alacritty 0.17.0 (94e7c887)
- OpenCode: 1.14.40 (npm)
- Plugins: None
Description
opencode --help does not print a trailing newline at the end of the output. Shell prompt is rendered on the final output line.
Steps to Reproduce
tur1ngb0x@starlabs ~ $ opencode --version
1.14.40
tur1ngb0x@starlabs ~ $ opencode --help
▄
█▀▀█ █▀▀█ █▀▀█ █▀▀▄ █▀▀▀ █▀▀█ █▀▀█ █▀▀█
█ █ █ █ █▀▀▀ █ █ █ █ █ █ █ █▀▀▀
▀▀▀▀ █▀▀▀ ▀▀▀▀ ▀▀▀▀ ▀▀▀▀ ▀▀▀▀ ▀▀▀▀ ▀▀▀▀
Commands:
opencode completion generate shell completion script
opencode acp start ACP (Agent Client Protocol) server
opencode mcp manage MCP (Model Context Protocol) servers
opencode [project] start opencode tui [default]
opencode attach <url> attach to a running opencode server
opencode run [message..] run opencode with a message
opencode debug debugging and troubleshooting tools
opencode providers manage AI providers and credentials [aliases: auth]
opencode agent manage agents
opencode upgrade [target] upgrade opencode to the latest or a specific version
opencode uninstall uninstall opencode and remove all related files
opencode serve starts a headless opencode server
opencode web start opencode server and open web interface
opencode models [provider] list all available models
opencode stats show token usage and cost statistics
opencode export [sessionID] export session data as JSON
opencode import <file> import session data from JSON file or URL
opencode github manage GitHub agent
opencode pr <number> fetch and checkout a GitHub PR branch, then run opencode
opencode session manage sessions
opencode plugin <module> install plugin and update config [aliases: plug]
opencode db database tools
Positionals:
project path to start opencode in [string]
Options:
-h, --help show help [boolean]
-v, --version show version number [boolean]
--print-logs print logs to stderr [boolean]
--log-level log level [string] [choices: "DEBUG", "INFO", "WARN", "ERROR"]
--pure run without external plugins [boolean]
--port port to listen on [number] [default: 0]
--hostname hostname to listen on [string] [default: "127.0.0.1"]
--mdns enable mDNS service discovery (defaults hostname to 0.0.0.0)
[boolean] [default: false]
--mdns-domain custom domain name for mDNS service (default: opencode.local)
[string] [default: "opencode.local"]
--cors additional domains to allow for CORS [array] [default: []]
-m, --model model to use in the format of provider/model [string]
-c, --continue continue the last session [boolean]
-s, --session session id to continue [string]
--fork fork the session when continuing (use with --continue or --session) [boolean]
--prompt prompt to use [string]
--agent agent to use [string]tur1ngb0x@starlabs ~ $
Screenshot

Metadata
Metadata
Assignees
Labels
No labels
Activity
github-actions commentedon May 7, 2026
This issue might be a duplicate of an existing issue. Please check:
opencode authoutput — same symptom (shell prompt rendered inline with last output line), different subcommandIf the root cause is the same, it may make sense to track the fix in one place.
peyremorgan commentedon Jun 5, 2026
Possible duplicate of #22115
peyremorgan commentedon Jun 7, 2026
Fixed by #30992
github-actions commentedon Aug 7, 2026
To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.