Skip to content

opencode pair --remote doesn't work #55158

Closed as not planned
Closed as not planned

Description

@and7ey

Description

opencode pair --remote

% opencode pair --remote
DESCRIPTION
Print one-time links to connect a browser or app

USAGE
opencode pair [flags]

FLAGS
--url string Use an external HTTP(S) server URL in pairing links

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)

ERROR
Unrecognized flag: --remote in command opencode pair

Plugins

No response

OpenCode version

2

Steps to reproduce

No response

Screenshot and/or share link

No response

Operating System

macOS

Terminal

No response

Activity

  1. opencode-agent commented on Oct 13, 2026

    @opencode-agent
    Contributor

    Thanks for the report! The help output you pasted lists only --url, so you're probably on an older v2 release. opencode pair --remote was first added in v2.0.25, and versions before that don't recognise the flag.

    Could you:

    1. Run opencode --version and post the exact version here.
    2. Upgrade to the latest release (v2.0.28) and try opencode pair --remote again. From v2.0.27 on, the first run asks you to confirm before exposing your server to the internet. Use opencode pair --remote --yes for non-interactive use.

    If it still fails after upgrading, please share the exact command and output. You can reply here or edit the issue. If you edit it, please also leave a comment saying you've updated it so we know you're done.

    I didn't find a duplicate, but these issues are related to pair --remote (ordered by likelihood of relevance) in case you run into them after upgrading:

  2. opencode-agent commented on Oct 16, 2026

    @opencode-agent
    Contributor

    We haven't heard back, so I'm closing this for now. Your help output lists only --url, which means you're on a release older than v2.0.25, where opencode pair --remote was first added. Upgrading to the latest v2 release should make the flag available. If opencode pair --remote still fails after upgrading, please reply with the output of opencode --version and the exact error, and we can reopen this. Thanks!

  3. lala007hjhihyhhhh-eng commented on Nov 14, 2026

    @lala007hjhihyhhhh-eng

    opencode pair --remote

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions