'zsh: command not found: get-graphql-schema
I'm trying to download my graphcms schema into my flutter project. I'm using Ferry as the graphql client.
According to the ferry docs I just need to run npm install -g get-graphql-schema and then run get-graphql-schema [ENDPOINT_URL] > lib/schema.graphql to download the schema.
However, when I try running that command, I get this in the terminal: zsh: command not found: get-graphql-schema .
I'm using an m1 mac - not sure if this is an m1-specific issue.
Any ideas on how to solve this would be much appreciated.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
