Skip to content

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.

Choose where your projects live and start dryfit.

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.

Forget a library.

List the projects that use your libraries.

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.

Put consumers back exactly as they were (alias: unlink).

  • --library <name>: Restore only this library and keep the others linked.
  • --group <name>, --all, --force

Build, publish and install into linked consumers now.

Sync on every change; Ctrl-C stops following, not watching.

  • --detach: Turn watching on and return.

Stop syncing on change.

Libraries, links, groups and warnings.

Follow what the daemon is doing.

Save consumers that run together.

Start dryfit at login (launchd).

Check that everything is in order.

Teach Claude Code to use dryfit (~/.claude/skills).

  • --project: Install into this project’s .claude/skills instead.
  • --dir <dir>: Install into another skills folder.

Remove the skill again (same options).

Print the skill, for agents that read instructions elsewhere.