Skip to the cargo

hk migrate ​

  • How to hail it: hk migrate <SUBCOMMAND>
  • Effect: read-only (looks, never touches)

Change ships: migrate from other hook managers to hk.

Flags to fly ​

  • -h --help — Print help, for when ye've lost yer bearings

Lesser calls ​

Tales from the deck ​

Convert a pre-commit configuration, then look over the generated file and the tools it needs aboard.

sh
hk migrate pre-commit --output hk.migrated.pkl
HK_FILE=./hk.migrated.pkl hk validate

Further charts ​

Getting started: get under way · Troubleshooting: the ship's log · All the bosun's calls

MIT LicenseCopyright © 2026jdx.dev