1HATCH-INSTALL(1) User Commands HATCH-INSTALL(1)
2
3
4
6 hatch install – Installs packages
7
9 hatch install [OPTIONS] [PACKAGES]...
10
12 If the option --env is supplied, the install will be applied using that
13 named virtual env. Unless the option --global is selected, the install
14 will only affect the current user. Of course, this will have no effect
15 if a virtual env is in use. The desired name of the admin user can be
16 set with the _DEFAULT_ADMIN_ environment variable.
17
18 With no packages selected, this will install using a setup.py in the
19 current directory.
20
21 If no --env is chosen, this will attempt to detect a project and use
22 its virtual env before resorting to the default pip(1). No project de‐
23 tection will occur if a virtual env is active.
24
26 -nd, --no-detect
27 Disables the use of a project’s dedicated virtual env. This is
28 useful if you need to be in a project root but wish to not tar‐
29 get its virtual env. -e, --env TEXT The named virtual env to
30 use.
31
32 -l, --local
33 Corresponds to pip(1)’s --editable option, allowing a local
34 package to be automatically updated when modifications are made.
35
36 -g, --global
37 Installs globally, rather than on a per-user basis. This has no
38 effect if a virtual env is in use.
39
40 --admin
41 When --global is selected, this assumes admin rights are already
42 enabled and therefore sudo(8)/runas will not be used.
43
44 -a, --quiet
45 Decreases verbosity.
46
47 -h, --help
48 Show a help message and exit.
49
51 _DEFAULT_ADMIN_
52 Desired name of the admin user
53
55 pip(1), sudo(8)
56
57 hatch(1)
58
59 hatch-build(1), hatch-clean(1), hatch-conda(1), hatch-config(1),
60 hatch-env(1), hatch-grow(1), hatch-init(1), hatch-new(1), hatch-py‐
61 path(1), hatch-python(1), hatch-release(1), hatch-shed(1),
62 hatch-shell(1), hatch-test(1), hatch-uninstall(1), hatch-update(1)
63
64
65
66 Feburary 2022 HATCH-INSTALL(1)