snippetbashTip
opencode web — Start an OpenCode server with a web interface. More information: <https://opencode.ai/docs/cli#web>.
Viewed 0 times
serveropencodecommandstartopencode webcliwithweb
Problem
How to use the
opencode web command: Start an OpenCode server with a web interface. More information: <https://opencode.ai/docs/cli#web>.Solution
opencode web — Start an OpenCode server with a web interface. More information: <https://opencode.ai/docs/cli#web>.Start the web interface on the default port:
opencode webStart on a specific port:
opencode web --port {{8080}}Start on a specific hostname:
opencode web --hostname {{0.0.0.0}}Enable mDNS service discovery:
opencode web --mdnsDisplay help:
opencode web {{[-h|--help]}}Code Snippets
Start the web interface on the default port
opencode webStart on a specific port
opencode web --port {{8080}}Start on a specific hostname
opencode web --hostname {{0.0.0.0}}Enable mDNS service discovery
opencode web --mdnsDisplay help
opencode web {{[-h|--help]}}Context
tldr-pages: common/opencode web
Revisions (0)
No revisions yet.