Skip to content

Support codegraph upgrade command for CLI installed via install.sh #679

@LUDA0831

Description

@LUDA0831

Question

Is there currently a way to upgrade the CLI when installed using the official install script?

curl -fsSL https://raw.githubusercontent.com/colbymchenry/codegraph/main/install.sh | sh

Running codegraph upgrade returns an error (or is not recognized).

If this command doesn't exist yet, I'd like to request a codegraph upgrade command that allows users to easily upgrade to the latest version without having to re-run the entire install script or manually download the new binary.

Context

  • Installation method: curl ... | sh (install.sh script)
  • Desired command: codegraph upgrade

Expected Behavior

$ codegraph upgrade
Checking for updates...
Current version: v0.x.x
Latest version: v0.y.z
Upgrading to v0.y.z...
✓ Successfully upgraded to v0.y.z

Thanks!


Submitted via OpenCode

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions