line9 · cli

Render Mermaid from your terminal.

The line9 CLI is free for personal use — hobby projects, learning, OSS. Need it at work? See pricing for the commercial Pro line.

§ 01
Install

macOS

Shell script
curl -fsSL https://line9.ai/install.sh | sh
Homebrew
brew install line9-ai/line9/line9

Linux

Shell script
curl -fsSL https://line9.ai/install.sh | sh
Homebrew
brew install line9-ai/line9/line9

Windows

PowerShell
irm https://line9.ai/install.ps1 | iex
§ 02
Wire it into your agent

Run line9 bootstrap once to prime every coding agent you use — Claude Code, Codex — to render diagrams through the CLI. It writes to your user-level config, so the capability follows you into every project. Today this sets up render instructions; richer priming is on the way.

line9 bootstrap
§ 03
Manual download

Prefer not to pipe a script? Grab a pre-built binary for your platform from the GitHub releases page, unpack it, and move the line9 binary onto your PATH.

§ 04
Verify the download

Each release ships a SHA256SUMS.txt. After downloading, confirm the binary matches its published SHA-256:

shasum -a 256 -c SHA256SUMS.txt
§ 05
Uninstall

Installed via Homebrew? Run brew uninstall line9. Installed via the script or a manual download? Delete the line9 binary from your PATH — the CLI keeps no other system state.

free for personal use macOS · linux · windows commercial use → pro