npm install -g dredd seems to instal but dredd not working

473 Views Asked by At

I've installed dredd globally on mac os but when calling dredd it comes back command not found

➜  test git:(master) dredd
zsh: command not found: dredd

Not sure if this is being saved in the correct place or there's an extra step i'm missing.

My initial install was:

➜  test git:(master) npm install -g dredd
npm WARN deprecated [email protected]: CoffeeScript on NPM has moved to "coffeescript" (no hyphen)
/Users/bob/.npm-packages/bin/dredd -> /Users/bob/.npm-packages/lib/node_modules/dredd/bin/dredd
+ [email protected]
updated 1 package in 5.563s
1

There are 1 best solutions below

0
On

try to run using

./node_modules/.bin/dredd

and make sure dredd.yml exists as in ./dredd.yml