PIP-CONFIG(1)
π
PIP-CONFIG(1) β the pip config glow-up
ok so this is a page from the pip manual set, bestie β it's called pip-config, and it's literally the description of the pip config command. buckle up π
β¨ NAME β¨
pip-config β description of pip config command. that's it, that's the name, no cap π«Ά
πΈ DESCRIPTION πΈ
Manage local and global configuration. yes bestie, it's giving organization era π
Subcommands:
list: List the active configuration (or from the file specified)edit: Edit the configuration file in an editorget: Get the value associated with command.optionset: Set the command.option=valueunset: Unset the value associated with command.optiondebug: List the configuration files and values defined under them
ok so the way configuration keys work is lowkey iconic: they should be dot separated command and option name, with the special prefix global affecting any command. 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. iykyk π
ngl this next part matters: if none of --user, --global and --site are 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. periodt π¦
β USAGE β
here's the whole vibe chart of how you actually call it, characters and all:
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>β Editor to use to edit the file. UsesVISUALorEDITORenvironment variables if not provided. so if you don't hand it an editor, it goes looking for those two env vars, okurrr π--globalβ Use the system-wide configuration file only. big main character energy for the whole machine π--userβ Use the user configuration file only. just you, just your vibes π--siteβ Use the current environment configuration file only. this environment specifically, bestie β¨
π«Ά reminder from your girl: only one of these file options at a time, and if you skip all three, the virtual environment config file wins when it's active and exists β otherwise it's the user file. no surprises.
π AUTHOR π
pip developers. legends, honestly. ate and left no crumbs π
π COPYRIGHT π
The pip developers. that's the copyright holder, we stan π
and that's the whole page, bestie!! this one was version 23.2, dated Jun 25, 2025 β so when you're out here configuring your index urls and timeouts, you know exactly which manual you read. mwah π
π
π¦ where this page comes from
- centos-stream 9: python3.12-pip 23.2.1-5.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