I use mac and I installed gatsby-cli by:
npm install --global gatsby-cli
and 'npm root -g' command prints:
/usr/local/lib/node_modules/npm/lib/node_modules
npm successfully installed gatsby but, I cannot run gatsby command (gatsby --version, gatsby --help) Whenever I type and run "gatsby --version" it prints:
-bash: gatsby: command not found
Is there any way I can fix this problem??
gatsby info
instead of checkingversion
? – Phraseologygatsby-cli
. – Brunswick