Skip to content

"command not found" after installation #113

@qinhanlei

Description

@qinhanlei

Hi,

I'm on macOS 14.7.5

~ % npm install -g @github/copilot

changed 5 packages in 2s
~ % copilot
zsh: command not found: copilot
~ %

According to claude code

bin % pwd
/usr/local/Cellar/node/24.6.0/bin
bin % which node
/usr/local/bin/node
bin % ll /usr/local/bin/claude
0 lrwxr-xr-x  1 qhl  staff    52B Aug 19 12:20 /usr/local/bin/claude -> ../lib/node_modules/@anthropic-ai/claude-code/cli.js
bin % ll /usr/local/bin/copilot
ls: /usr/local/bin/copilot: No such file or directory

I think copilot did not create a soft link during npm installation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions