Installation
Installation of BeDoc is straightforward and can be done via npm or yarn. BeDoc
requires Node.js v24 or later (engines.node is >=24).
Installation
Section titled “Installation”BeDoc may be run as a standalone tool or as part of a project.
Standalone
Section titled “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/bedocyarn global add @gesslar/bedocProject
Section titled “Project”If you prefer to keep BeDoc local to your project, you can install it as a development dependency.
npm i -D @gesslar/bedocyarn add --dev @gesslar/bedocNo install (npx)
Section titled “No install (npx)”You don’t have to install BeDoc at all. npx will fetch and run it on demand —
handy for one-off runs, trying it out, or CI steps where you’d rather not add a
dependency.
# Run the latest published version directlynpx @gesslar/bedoc --version
# Generate docs in a single shotnpx @gesslar/bedoc -l lpc -f markdown -i "src/**/*.c" -o docsVerifying Your Installation
Section titled “Verifying Your Installation”After installation, you can confirm that BeDoc is available by running:
bedoc --versionnpx bedoc --versionTo see available options, run:
bedoc --helpnpx bedoc --helpNext Steps
Section titled “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.
