Skip to content

Installation

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.

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

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

Terminal window
npm i -g @gesslar/bedoc

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

Terminal window
npm i -D @gesslar/bedoc

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

Terminal window
bedoc --version

To see available options, run:

Terminal window
bedoc --help

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.