CLI reference
This page is the output of dryfit --help, laid out. Every command accepts –json, and then reports errors as JSON on stderr too. Exit codes: 0 done, 1 failed, 2 used wrongly, 130 interrupted.
Set up
Section titled “Set up”dryfit init [--root <dir>]...
Section titled “dryfit init [--root <dir>]...”Choose where your projects live and start dryfit.
dryfit add [dir]
Section titled “dryfit add [dir]”Register the library in dir (default: here).
--publish-dir <dir>: Folder to publish, when it cannot be detected.--build "<command>": Build command, when it cannot be detected.
dryfit remove <library>
Section titled “dryfit remove <library>”Forget a library.
Linking
Section titled “Linking”dryfit consumers [library]
Section titled “dryfit consumers [library]”List the projects that use your libraries.
dryfit link <consumer>...
Section titled “dryfit link <consumer>...”Install dev builds of a library into consumers.
--library <name>: Which library (default: the one here, or the only one).--group <name>: Link every consumer in a saved group.--no-guard: Do not add the pre-commit guard.
dryfit restore [consumer]...
Section titled “dryfit restore [consumer]...”Put consumers back exactly as they were (alias: unlink).
--library <name>: Restore only this library and keep the others linked.--group <name>,--all,--force
Working
Section titled “Working”dryfit sync [library]
Section titled “dryfit sync [library]”Build, publish and install into linked consumers now.
dryfit watch [library]
Section titled “dryfit watch [library]”Sync on every change; Ctrl-C stops following, not watching.
--detach: Turn watching on and return.
dryfit unwatch [library]
Section titled “dryfit unwatch [library]”Stop syncing on change.
dryfit status
Section titled “dryfit status”Libraries, links, groups and warnings.
dryfit events
Section titled “dryfit events”Follow what the daemon is doing.
Groups
Section titled “Groups”dryfit group save <name> <consumer>...
Section titled “dryfit group save <name> <consumer>...”Save consumers that run together.
dryfit group delete <name>
Section titled “dryfit group delete <name>”dryfit group list
Section titled “dryfit group list”Daemon
Section titled “Daemon”dryfit daemon start|stop|restart|status
Section titled “dryfit daemon start|stop|restart|status”dryfit daemon install|uninstall
Section titled “dryfit daemon install|uninstall”Start dryfit at login (launchd).
dryfit doctor
Section titled “dryfit doctor”Check that everything is in order.
Agents
Section titled “Agents”dryfit agent install
Section titled “dryfit agent install”Teach Claude Code to use dryfit (~/.claude/skills).
--project: Install into this project’s .claude/skills instead.--dir <dir>: Install into another skills folder.
dryfit agent uninstall
Section titled “dryfit agent uninstall”Remove the skill again (same options).
dryfit agent show
Section titled “dryfit agent show”Print the skill, for agents that read instructions elsewhere.