PIP-CONFIG(1)
π NAME π
okay so this is pip-config β the manual page for the pip config command, and it's literally about managing your config, bestie. that's the whole vibe. π
β¨ DESCRIPTION β¨
Manage local and global configuration. yes, both. you contain multitudes. π
Subcommands: (the little menu of what pip config can do for you) π
list: List the active configuration (or from the file specified)edit: Edit the configuration file in an editorget: Get the value associated withcommand.optionset: Set thecommand.option=valueunset: Unset the value associated withcommand.optiondebug: List the configuration files and values defined under them
Configuration keys should be dot separated command and option name, with the special prefix global affecting any command. no cap, that global prefix is the main character here π
so like, for example: pip config set global.index-url https://example.org/ would configure the index url for all commands, but pip config set download.timeout 10 would configure a 10 second timeout only for pip download commands. see the difference? the way that dot does so much work π
fr fr important part: If none of--user,--globaland--siteare passed, a virtual environment configuration file is used if one is active and the file exists. Otherwise, all modifications happen to the user file by default. so likeβ¦ know where your writes are landing, bestie π«Ά
πΈ USAGE πΈ
python -m pip config [<file-option>] list
python -m pip config [<file-option>] [--editor <editor-path>] edit
python -m pip config [<file-option>] get command.option
python -m pip config [<file-option>] set command.option value
python -m pip config [<file-option>] unset command.option
python -m pip config [<file-option>] debug
π OPTIONS π
--editor <editor>β the Editor to use to edit the file. UsesVISUALorEDITORenvironment variables if not provided. so if you don't hand it one, it goes looking for your env vars first, iykyk πΈ--globalβ Use the system-wide configuration file only. big boss energy, system-wide π--userβ Use the user configuration file only. just you, just your file π--siteβ Use the current environment configuration file only. cute, current, environment-specific π¦
π AUTHOR π
pip developers π«Ά
β COPYRIGHT β
The pip developers
and that's the page!! π the source/version is 22.3 and it's dated Jun 25, 2025, so yeah β that's the whole thing, go forth and configure slayfully bestie πβ¨π
π¦ where this page comes from
- centos-stream 9: python3.11-pip 22.3.1-6.el9 Β· MIT and Python and ASL 2.0 and BSD and ISC and LGPLv2 and MPLv2.0 and (ASL 2.0 or BSD)
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms