Skip to content

Version

Print the version, commit, and build time of the installed binary.

The values are stamped into the binary at link time. A build that was never stamped reports Go’s module version and “unknown” for the rest.

Usage

clankerwatch version

Global options

These settings flags are accepted by every command. See Configuration for how they combine with environment variables and the settings file.

FlagShortDefaultTypeDescription
--claude-config-dir""stringClaude Code’s config directory ($CLAUDE_CONFIG_DIR)
--config""stringYAML settings file, default $XDG_CONFIG_HOME/clankerwatch/config.yaml ($CLANKERWATCH_CONFIG)
--idle-interval20m0sdurationpolling interval while Claude Code is idle ($CLANKERWATCH_IDLE_INTERVAL)
--interval5m0sdurationpolling interval while Claude Code is active, at least 2m ($CLANKERWATCH_INTERVAL)
--log-levelinfostringdebug, info, warn, or error ($CLANKERWATCH_LOG_LEVEL)
--modehybridstringdata source: hybrid, or cache-only to never read credentials or use the network ($CLANKERWATCH_MODE)
--notify80,95stringalert thresholds in percent, empty to turn alerts off ($CLANKERWATCH_NOTIFY)
--notify-authtrueboolalert when the Claude Code login needs attention ($CLANKERWATCH_NOTIFY_AUTH)
--state-dir""stringdirectory for the daemon’s state, default $XDG_STATE_HOME/clankerwatch ($CLANKERWATCH_STATE_DIR)