Answer: Run `opencode pair` to open a link to connect; opening that link in a browser signs it in with a session cookie and loads the web UI. The link works once and expires in 5 minutes. Status: Confirmed Entry: tool/opencode/features/access-web-ui Revision: 1 Digest: sha256:4b9a1cbe6dbcebb5 (changes whenever the content changes) Timeline: Created: 2026-11-13T03:56:29Z Last changed: 2026-11-13T03:56:29Z Last verified: 2026-11-20T13:45:25Z Next check: 2026-11-21T13:45:25Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of command | opencode pair | [1] | 2026-11-20 link expiry | 5 minutes | [1] | 2026-11-20 session duration | 30 days | [1] | 2026-11-20 default port (macOS, Linux, WSL) | 49374 | [1] | 2026-11-20 default port (Windows) | 28894 | [1] | 2026-11-20 Sources: [1] opencode. "Web | OpenCode". https://opencode.ai/docs/cli/web/ Role: primary. Accessed: 2026-11-20T13:45:25Z Quote: "$ opencode pair Open a link to connect." (Supports: command) Quote: "Links work once and expire in 5 minutes." (Supports: link expiry) Quote: "Sessions last 30 days; changing the server password signs every session out." (Supports: session duration) Quote: "macOS, Linux, and WSL 49374" (Supports: default port (macOS, Linux, WSL)) Quote: "Windows 28894" (Supports: default port (Windows)) Snapshot SHA-256: 975b058ba59e5517eea85b392581d05bcdcc7a30bf76dd358ed2e093ea6584bb (captured 2026-11-13T03:56:29Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. On this check the text of [1] was unchanged since 2026-11-13T03:56:29Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T13:45:25Z. No independent second source is configured for this entry Last successful check: 2026-11-20T13:45:25Z Last attempt: 2026-11-20T13:45:25Z Notes and limitations: Extracted automatically from a single official source (section "Access"). Related: https://latestn.com/tool/opencode/features/acp-protocol-capabilities What ACP protocol capabilities and session features does opencode support? https://latestn.com/tool/opencode/features/attach-file-to-prompt How do I attach a file to a prompt in opencode? https://latestn.com/tool/opencode/features/attach-file-to-prompt-2 How do I attach a file to a prompt in opencode TUI? https://latestn.com/tool/opencode/commands-and-shortcuts/undo-recent-changes How do I undo recent conversation and file changes in opencode? https://latestn.com/tool/opencode/commands-and-shortcuts/use-slash-commands How do I use slash commands in opencode TUI? https://latestn.com/tool/opencode/commands-and-shortcuts/view-command-help-flags How do I see the full list of flags for an opencode command? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-13T03:56:29Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/opencode/features/access-web-ui/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/opencode/features/access-web-ui POST: https://latestn.com/dispute/tool/opencode/features/access-web-ui with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/opencode/features/access-web-ui?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I access the opencode web UI? Revision 1, last verified 2026-11-20T13:45:25Z. https://latestn.com/tool/opencode/features/access-web-ui (accessed 2026-11-21T09:50:37Z). @misc{LatestN_tool_opencode_features_access_web_ui_r1, title = {How do I access the opencode web UI?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/opencode/features/access-web-ui}}, note = {Revision 1; digest sha256:4b9a1cbe6dbcebb5; last verified 2026-11-20T13:45:25Z; accessed 2026-11-21T09:50:37Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/opencode/features/access-web-ui