Skip to content

install fails on MacOS #930

@abramche

Description

@abramche
$ codegraph install
┌  CodeGraph v1.0.1
│
◇  Which agents should CodeGraph configure?
│  opencode (detected)
│
◇  Install the codegraph CLI on your PATH? (Required so agents can launch the MCP server)
│  Yes
│
◇  Could not install (permission denied)
│
▲  Try: sudo npm install -g @colbymchenry/codegraph
│
■  Apply agent configs to all your projects, or just this one?
│  All projects
│
└  Installation cancelled.


~  took 18s
$ sudo codegraph install
┌  CodeGraph v1.0.1
│
◇  Which agents should CodeGraph configure?
│  opencode (detected)
│
◇  Install the codegraph CLI on your PATH? (Required so agents can launch the MCP server)
│  Yes
│
◇  Could not install (permission denied)
│
▲  Try: sudo npm install -g @colbymchenry/codegraph

sudo npm install -g @colbymchenry/codegraph worked out though

MacOS Tahoe 26.4.1 (arm64, zsh)

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