The vizzy CLI
The Vizzy app ships a vizzy command line tool — the same engine as the app, no window
required. It does four things:
- Render any
.vizzy.mdto images (PNG, JPEG, TIFF, HEIC, AVIF) — the piece that lets a coding agent author a diagram and drop the image straight into your repo. - Lint files for problems the renderer silently ignores — broken links, unsupported HTML, stray edges — so you can gate CI on it.
- Drive the running app — focus a node, jump to a document, open a hint, or read what a window is showing, so an agent can navigate the canvas with you.
- Publish a diagram or a whole folder to a shareable usevizzy.com link
— sign in once with
vizzy login, thenvizzy publishfrom any script or agent.
Install the command line tool
Section titled “Install the command line tool”The CLI lives inside the app, and on its first launch the app installs the vizzy launcher
into /usr/local/bin automatically whenever that folder is writable without admin rights.
Often there’s nothing to do — just confirm it worked:
vizzy --helpvizzy version # print the installed versionIf vizzy isn’t found, install it explicitly either way:
- Vizzy ▸ Install Command Line Tool… in the app (you may be asked for your password if
/usr/local/binneeds admin rights), or - headlessly, from a script or a coding agent — this is what usevizzy.com/prompt.md uses:
/Applications/Vizzy.app/Contents/MacOS/Vizzy install-cliinstall-cli never prompts: if the folder needs admin rights it prints the exact
sudo … install-cli command to run and exits non-zero.
The launcher stays pointed at the app automatically — each time you open Vizzy it
re-links the installed vizzy to the running app, so moving the app or taking an update
keeps the command working without re-installing.
Open the app from the terminal
Section titled “Open the app from the terminal”Run vizzy with no subcommand to open the current folder, or pass paths to open specific
files or folders:
vizzy # open the current directory in Vizzyvizzy ~/Code/myproject # open a foldervizzy vizzy/auth.vizzy.md # open a single diagram fileThis reuses a running instance, focusing the existing window rather than launching a second copy.
Where to next
Section titled “Where to next”- Rendering to images —
vizzy render, output formats, and the agent loop. - Linting — the full rule list and how to gate CI on it.
- Driving the running app —
focus,goto,open-hint,comment,state. - Publishing & sign-in —
vizzy login,vizzy publish, and how to publish from CI with a token.