I am trying to deploy basic react-app to netlify. I ran these commands to install and deploy application
npm install netlify-cli -gnetlify deploy
It throws:
zsh: command not found: netlify error.
I am working on mac OS. What is causing this issue?