npm commain in Automator Hi,
I would like to write an automator workflow which allows me to install node packages.

I tried with 

$ npm insall 

but doesn't work any idea how I could solve this?
That's because when you run shell command from Automator, it's PATH variable does have all the paths as when you run from Terminal. Use full path to npm executable. You can find the full path with which npm in the Terminal.