hatch-lock - Man Page

hatch lock – Same as hatch-dep-lock(1) for the environment selected with -e / HATCH_ENV

Synopsis

hatch 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-dep-lock(1)

hatch-build(1), hatch-check(1), hatch-clean(1), hatch-config(1), hatch-dep(1), hatch-env(1), hatch-fmt(1), hatch-new(1), hatch-project(1), hatch-publish(1), hatch-python(1), hatch-run(1), hatch-self(1), hatch-shell(1), hatch-status(1), hatch-test(1), hatch-version(1)

hatch(1)

Referenced By

hatch(1), hatch-build(1), hatch-check(1), hatch-clean(1), hatch-config(1), hatch-dep(1), hatch-dep-lock(1), hatch-env(1), hatch-fmt(1), hatch-new(1), hatch-project(1), hatch-publish(1), hatch-python(1), hatch-run(1), hatch-self(1), hatch-shell(1), hatch-status(1), hatch-test(1), hatch-version(1).

June 2026