Skip to content

opencode upgrade issue #358

Closed
Closed

Description

@eas4ai

When I use the upgrade flag, the app is updated - it says. It shows the correct version... however, it doesn't run the new version?

opencode upgrade

┌  Upgrade
│
●  From 0.1.115 → 0.1.126
│
◇  Upgrade complete
│
└  Done

(base) shawn@shawn-beast:~/workspace/meta$ opencode --help

Commands:
  opencode [project]         start opencode TUI                        [default]
  opencode run [message..]   Run opencode with a message
  opencode auth              Manage credentials
  opencode upgrade [target]  upgrade opencode to the latest version or a
                             specific version

Positionals:
  project  path to start opencode in                                    [string]

Options:
  --help        Show help                                              [boolean]
  --version     Show version number                                    [boolean]
  --print-logs  Print logs to stderr                                   [boolean]
(base) shawn@shawn-beast:~/workspace/meta$ opencode --version
0.1.115

Activity

  1. cravenceiling commented on Jun 24, 2025

    @cravenceiling
    Contributor

    I think this is a duplicate of #208. I'm not sure when it was fixed but right now I can use the upgrade command without any problem.

    λ step opencode upgrade
    
      █▀▀█ █▀▀█ █▀▀ █▀▀▄ █▀▀ █▀▀█ █▀▀▄ █▀▀
      █░░█ █░░█ █▀▀ █░░█ █░░ █░░█ █░░█ █▀▀
      ▀▀▀▀ █▀▀▀ ▀▀▀ ▀  ▀ ▀▀▀ ▀▀▀▀ ▀▀▀  ▀▀▀
    
    ┌  Upgrade
    │
    ●  Using method: curl
    │
    ●  From 0.1.123 → 0.1.126
    │
    ◇  Upgrade complete
    │
    └  Done
    
    λ step opencode --version
    0.1.126
  2. adamdotdevin commented on Jun 24, 2025

    @adamdotdevin
    Member

    yeah, i think you'll need to do a reinstall and then future auto-upgrades should work

  3. adamdotdevin commented on Jun 24, 2025

    @adamdotdevin
    Member

    going to close, please do lmk if you have any further upgrade issues after getting latest installed

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions