Your company here ā€” click to reach over 10,000 unique daily visitors

pip-config - Man Page

description of pip config command


Manage local and global configuration.


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.

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.


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


--editor <editor>

Editor to use to edit the file. Uses VISUAL or EDITOR environment variables if not provided.

(environment variable: PIP_EDITOR)


Use the system-wide configuration file only

(environment variable: PIP_GLOBAL)


Use the user configuration file only

(environment variable: PIP_USER)


Use the current environment configuration file only

(environment variable: PIP_SITE)


pip developers

Referenced By

The man pages pip-3.13-config(1), pip3.13-config(1), pip-3-config(1) and pip3-config(1) are aliases of pip-config(1).

Jun 28, 2024 24.1 pip