PIP-CONFIG(1)
π¦ pip-config(1) β the pip config manual, bestie π¦
π NAME π
okay so pip-config is literally the description of the pip config command. That's the vibe. It's giving "configure pip without losing your mind." π
β¨ DESCRIPTION β¨
Manage local and global configuration. No cap, that's the whole job.
Subcommands, in the cutest little list:
listβ List the active configuration (or from the file specified). πeditβ Edit the configuration file in an editor.getβ Get the value associated withcommand.option.setβ Set thecommand.option=value.unsetβ Unset the value associated withcommand.option.debugβ 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. 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. π«Ά
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. That's the default behavior, periodt.
π¦ 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>β Editor to use to edit the file. UsesVISUALorEDITORenvironment variables if not provided. (environment variable:PIP_EDITOR) βοΈ--globalβ Use the system-wide configuration file only. (environment variable:PIP_GLOBAL) π--userβ Use the user configuration file only. (environment variable:PIP_USER) π§--siteβ Use the current environment configuration file only. (environment variable:PIP_SITE) ποΈ
πΈ AUTHOR πΈ
pip developers β the whole squad. π
π COPYRIGHT π
The pip developers β yes, the copyright cuties. π«Ά
π That's the whole manual, bestie. This page is from pip version25.1, datedJun 26, 2025. Now go config your heart out. Mwah. π β¨
π¦ where this page comes from
- epel 9: python3.13-pip 25.1.1-1.el9 Β· MIT AND Python-2.0.1 AND Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND ISC AND MPL-2.0 AND (Apache-2.0 OR BSD-2-Clause)
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms