Search code examples
bashyarnpkgapi-doc

Apidoc installed as global: how to run it?


I've installed APIDoc.js packages globally, using yarn.

yarn global add apidoc

I'm on a Debian 9.8.

Actually...

which apidoc

... doesn't return any path. So running ...

apidoc

... results in a

command not found

How can I execute apidoc when globally installed?


Solution

  • I ended running it using npx

    npx apidoc ...< rest of params >