HATCH(1)
π NAME π
ok so hatch β it's Modern, extensible Python project management, bestie. that's the whole vibe. she does it all. πβ¨
πΈ SYNOPSIS πΈ
hatch [OPTIONS] COMMAND [ARGS]...
like. you give her options, a command, and args, and she GOES. periodt.
π OPTIONS π
these are your global levers, bestie β set them before the command and she listens π
-e,--envTEXT β the name of the environment you wanna use[env var: HATCH_ENV]-p,--projectTEXT β the name of the project you're working on[env var: HATCH_PROJECT]-v,--verboseβ crank the verbosity UP (and you can stack it, additively, for extra yap)[env var: HATCH_VERBOSE]-q,--quietβ turn the verbosity DOWN (also stackable, also additively, shhh)[env var: HATCH_QUIET]--color/--no-colorβ do we show colored output or not? (default is auto-detection, she just knows)[env vars: FORCE_COLOR/NO_COLOR]--interactive/--no-interactiveβ are we allowing features like prompts and progress bars? (default is auto-detection again, she's psychic)[env var: HATCH_INTERACTIVE]--data-dirTEXT β the path to a custom directory used to persist data[env var: HATCH_DATA_DIR]--cache-dirTEXT β the path to a custom directory used to cache data[env var: HATCH_CACHE_DIR]--configTEXT β the path to a custom config file to use[env var: HATCH_CONFIG]--versionβ show the version and dip. exit. bye. π-h,--helpβ show a help message and dip. exit. bye. π
π«Ά COMMANDS π«Ά
ok this is the roster and honestly? every single one ate. each has her own whole manpage, so go read those too:
buildβ Build a project
See hatch-build(1).
cleanβ Remove build artifacts
See hatch-clean(1).
configβ Manage the config file
See hatch-config(1).
depβ Manage environment dependencies
See hatch-dep(1).
envβ Manage project environments
See hatch-env(1).
fmtβ Lint and format source code
See hatch-fmt(1).
newβ Create or initialize a project
See hatch-new(1).
projectβ View project information
See hatch-project(1).
publishβ Publish build artifacts
See hatch-publish(1).
pythonβ Manage Python installations
See hatch-python(1).
runβ Run commands within project environments
See hatch-run(1).
selfβ Manage Hatch
See hatch-self(1).
shellβ Enter a shell within a project's environment
See hatch-shell(1).
statusβ Show information about the current environment
See hatch-status(1).
testβ Run tests
See hatch-test(1).
versionβ View or set a project's version
See hatch-version(1).
π ENVIRONMENT π
these are the little gremlins living in your shell that do the same job as the flags above. set 'em and forget 'em, iykyk π¦
HATCH_ENVβ the name of the environment to use[option: -e, --env]HATCH_PROJECTβ the name of the project to work on[option: -p, --project]HATCH_VERBOSEβ increase verbosity[option: -v, --verbose]HATCH_QUIETβ decrease verbosity[option: -q, --quiet]FORCE_COLORβ display colored output (default is auto-detection)[option: --color]NO_COLORβ do not display colored output (default is auto-detection)[option: --no-color]HATCH_INTERACTIVEβ whether or not to allow features like prompts and progress bars (default is auto-detection)[options: --interactive/--no-interactive]HATCH_DATA_DIRβ the path to a custom directory used to persist data[option: --data-dir]HATCH_CACHE_DIRβ the path to a custom directory used to cache data[option: --cache-dir]HATCH_CONFIGβ the path to a custom config file to use[option: --config]
β SEE ALSO β
go read the whole friend group, they're all iconic:
hatch-build(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)
ok that's the whole page bestie, you're officially hatch-pilled π§π this one's from August 2024, it's HATCH(1), and it's giving main character energy fr fr. now go build something slay π β¨
π¦ where this page comes from
- epel 10: hatch 1.15.1-2.el10_3 Β· MIT
- fedora 43: hatch 1.14.2-2.fc43 Β· MIT
- fedora 43: hatch 1.15.1-1.fc43 Β· MIT
- fedora 44: hatch 1.16.4-1.fc44 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms