Quick start
Archidocs needs Node.js 22.18 or later. Install the CLI:
npm install --global archidocsOr run any command without installing it, as in npx archidocs check.
Set up a Workspace
Section titled “Set up a Workspace”In the repo that will hold your Workspace:
archidocs initThis 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.
Add a Project
Section titled “Add a Project”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.
Check it and open the viewer
Section titled “Check it and open the viewer”archidocs checkarchidocs devarchidocs 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.
- Publish the viewer from CI.
- Connect an agent to the Model over MCP.
- Look up any command in the CLI reference.