Skip to content

Quick start

Archidocs needs Node.js 22.18 or later. Install the CLI:

Terminal window
npm install --global archidocs

Or run any command without installing it, as in npx archidocs check.

In the repo that will hold your Workspace:

Terminal window
archidocs init

This writes archidocs/workspace.yaml, adds the .archidocs/ cache to .gitignore, and installs an authoring skill for coding agents. Run it again at any time: it leaves what’s there alone.

Define a Team and an Environment in archidocs/workspace.yaml, then give the Team a Project folder with a project.yaml and a file of Elements, such as archidocs/shop/model.yaml. The tutorial walks through each file, and Add a Project is the short version.

Terminal window
archidocs check
Terminal window
archidocs dev

archidocs check validates the Workspace and explains each problem, with a link to its rule. archidocs dev serves the viewer on http://localhost:4321 and reloads it as you edit.