Search code examples
node.jsmacosnpmavr

Node command not found


I'm trying to install avrgirl-arduino using the command sudo npm install avrgirl-arduino. When I try running the command avrgirl-arduino list I get an error saying -bash: avrgirl-arduino: command not found. I ran npm init before running the first command and it still doesn't work.


Solution

  • You may want to install your package globally :

    npm install -g avrgirl-arduino
    

    This way you can use command line tool package (like grunt)