Any help would be appreciated.
I have created package.json by
npm init
Installed gatsby and gatsby-cli modules as below:
npm install gatsby gatsby-cli
Opened the terminal to check the gatsby version
gatsby -v
Its giving me the error:
$ gatsby -v bash: gatsby: command not found
I could see similar problem raised on stack overflow, but the solution provided there is not helping me to resolve.