1PIP-CONFIG(1) pip PIP-CONFIG(1)
2
3
4
6 pip-config - description of pip config command
7
8 IMPORTANT:
9 Did this article help?
10
11 We are currently doing research to improve pip's documentation and
12 would love your feedback. Please email us and let us know why you
13 came to this page and what on it helped you and what did not. (‐
14 Read more about this research)
15
17 Manage local and global configuration.
18
19 Subcommands:
20
21 • list: List the active configuration (or from the file specified)
22
23 • edit: Edit the configuration file in an editor
24
25 • get: Get the value associated with name
26
27 • set: Set the name=value
28
29 • unset: Unset the value associated with name
30
31 • debug: List the configuration files and values defined under them
32
33 If none of --user, --global and --site are passed, a virtual environ‐
34 ment configuration file is used if one is active and the file exists.
35 Otherwise, all modifications happen on the to the user file by default.
36
37
39 python -m pip config [<file-option>] list
40 python -m pip config [<file-option>] [--editor <editor-path>] edit
41
42 python -m pip config [<file-option>] get name
43 python -m pip config [<file-option>] set name value
44 python -m pip config [<file-option>] unset name
45 python -m pip config [<file-option>] debug
46
48 --editor <editor>
49 Editor to use to edit the file. Uses VISUAL or EDITOR environ‐
50 ment variables if not provided.
51
52 --global
53 Use the system-wide configuration file only
54
55 --user Use the user configuration file only
56
57 --site Use the current environment configuration file only
58
59
60 IMPORTANT:
61 Did this article help?
62
63 We are currently doing research to improve pip's documentation and
64 would love your feedback. Please email us and let us know:
65
66 1. What problem were you trying to solve when you came to this page?
67
68 2. What content was useful?
69
70 3. What content was not useful?
71
73 pip developers
74
76 2008-2021, PyPA
77
78
79
80
8121.0 May 17, 2021 PIP-CONFIG(1)