1PIP-CONFIG(1) pip PIP-CONFIG(1)
2
3
4
6 pip-config - description of pip config command
7
9 Manage local and global configuration.
10
11 Subcommands:
12
13 • list: List the active configuration (or from the file specified)
14
15 • edit: Edit the configuration file in an editor
16
17 • get: Get the value associated with name
18
19 • set: Set the name=value
20
21 • unset: Unset the value associated with name
22
23 • debug: List the configuration files and values defined under them
24
25 If none of --user, --global and --site are passed, a virtual environ‐
26 ment configuration file is used if one is active and the file exists.
27 Otherwise, all modifications happen to the user file by default.
28
29
31 python -m pip config [<file-option>] list
32 python -m pip config [<file-option>] [--editor <editor-path>] edit
33
34 python -m pip config [<file-option>] get name
35 python -m pip config [<file-option>] set name value
36 python -m pip config [<file-option>] unset name
37 python -m pip config [<file-option>] debug
38
40 --editor <editor>
41 Editor to use to edit the file. Uses VISUAL or EDITOR environ‐
42 ment variables if not provided.
43
44 --global
45 Use the system-wide configuration file only
46
47 --user Use the user configuration file only
48
49 --site Use the current environment configuration file only
50
51
53 pip developers
54
56 The pip developers
57
58
59
60
6121.3 Jan 21, 2022 PIP-CONFIG(1)