graph-cli installs but is not getting read on MacOS

120 Views Asked by At

I am installing @graphprotocol/graph-cli with yarn with the command

yarn global add @graphprotocol/graph-cli

I get the success message saying:

success Installed "@graphprotocol/[email protected]" with binaries:
  - graph

But when I try to check its version with graph init it says:

zsh: command not found: graph
0

There are 0 best solutions below