Skip to main content

Installation of BeDoc is straightforward and can be done via npm or yarn. The tool was built and tested on Node.js v23.5.0.

Installation

BeDoc may be run as a standalone tool or as part of a project.

Standalone

Installing BeDoc globally enables you to run it from the command line as well as use it in your projects.

npm i -g @gesslar/bedoc

Project

If you prefer to keep BeDoc local to your project, you can install it as a development dependency.

npm i -D @gesslar/bedoc

Verifying Your Installation

After installation, you can confirm that BeDoc is available by running:

bedoc --version

To see available options, run:

bedoc --help

Next Steps

After installation, you can start generating documentation with BeDoc. Check out the Configuration Guide to learn how to configure the tool via CLI options, environment variables, JSON files, and more, as well as how to incorporate BeDoc into your project workflow.