Skip to content
Blode.md

AI agents: fetch the documentation index at llms.txt. Markdown versions are available by appending .md to any page URL, including this page's markdown.

CLI overview

Install and use the blodemd command-line interface.

The blodemd CLI lets you authenticate, create, validate, preview, and deploy documentation from your terminal.

Installation

Install
npm i -g blodemd

Requires Node.js 24.x. The current version is 0.0.8.

Commands

FieldTypeDescriptionRequired
logincommandAuthenticate with Blode.md via GitHub in your browser.Yes
logoutcommandRemove stored credentials from your machine.Yes
whoamicommandShow the current authentication status.Yes
newcommandCreate a new documentation site with a starter docs.json and index page.Yes
validatecommandValidate your docs.json configuration file against the schema.Yes
pushcommandDeploy documentation to Blode.md.Yes
devcommandStart a local development server for real-time preview.Yes

Command reference

Global behavior

Credentials

The CLI stores all authentication state at ~/.config/blodemd/credentials.json and never sends credentials to any third party.

Environment variables

You can configure the CLI with environment variables instead of flags.

FieldTypeDescriptionRequiredDefault
BLODEMD_API_URLstringOverride the API base URL.Yeshttps://api.blode.md
BLODEMD_PROJECTstringProject slug. Overrides docs.json `slug`.Yes
BLODEMD_BRANCHstringGit branch name for the deployment.Yes
BLODEMD_COMMIT_MESSAGEstringCommit message attached to the deployment.Yes