Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

npm

Create command line utility for project

In your package.json, include (see also package.json docs here):

{ "bin" : { "myapp" : "./cli.js" } }

Making sure the relevant script has the header:

#!/usr/bin/env node

Locally install the command line utility

npm link

Last updated