hatch-dep-lock - Man Page

hatch dep lock – Resolve dependencies and write a PEP 751 pylock.toml for the selected environment

Synopsis

hatch dep lock [Options]

Options

-U,  --upgrade

Upgrade all packages

-P,  --upgrade-package TEXT

Upgrade specific package(s)

--export PATH

Export lockfile to a custom path

--export-all PATH

Export lockfiles for all environments to a directory

--check

Check if lockfile is up-to-date

-h,  --help

Show a help message and exit

See Also

hatch-lock(1)

hatch-dep-hash(1), hatch-dep-show(1), hatch-dep-sync(1)

hatch-dep(1), hatch(1)

PEP 751

Referenced By

hatch(1), hatch-dep(1), hatch-dep-hash(1), hatch-dep-show(1), hatch-dep-sync(1), hatch-lock(1).

June 2026