For regular use, install doc-kit using your preferred package manager:
1
Install the package
Choose your package manager and install @nodejs/doc-kit:
npm install -g @nodejs/doc-kit
2
Verify installation
Confirm doc-kit is installed correctly:
doc-kit --help
You should see the CLI help output:
Usage: @nodejs/doc-kit [options] [command]CLI tool to generate the Node.js API documentationOptions: -h, --help display help for commandCommands: generate [options] Generate API docs help [command] display help for command
3
Start generating docs
You’re ready to generate documentation! Try the generate command: