Skip to content

hk config

  • Usage: hk config <SUBCOMMAND>
  • Aliases: cfg
  • Effect: read-only

Inspect hk's configuration

View hk's effective configuration and where each value comes from. Configuration is merged from multiple sources in precedence order: CLI flags > Environment variables > Git config (local) > Git config (global) > Project config (hk.pkl) > User config (~/.config/hk/config.pkl) > Built-in defaults.

Flags

  • -h --help — Print help

Subcommands

Examples

Inspect effective runtime settings and their sources. Use hk check --plan for hook and step selection.

sh
hk config dump
hk config get jobs
hk config explain jobs

Learn more

Configuration guide · Troubleshooting · All commands

MIT LicenseCopyright © 2026jdx.dev