pip-config - Man Page

Name

pip-config — description of pip config command

IMPORTANT:

Did this article help?

We are currently doing research to improve pip's documentation and would love your feedback. Please email us and let us know why you came to this page and what on it helped you and what did not.    (Read more about this research)

Description

Manage local and global configuration.

Subcommands:

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 on the to the user file by default.

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 name
python -m pip config [<file-option>] set name value
python -m pip config [<file-option>] unset name
python -m pip config [<file-option>] debug

Options

--editor <editor>

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

--global

Use the system-wide configuration file only

--user

Use the user configuration file only

--site

Use the current environment configuration file only

IMPORTANT:

Did this article help?

We are currently doing research to improve pip's documentation and would love your feedback. Please email us and let us know:

  1. What problem were you trying to solve when you came to this page?
  2. What content was useful?
  3. What content was not useful?

Author

pip developers

Referenced By

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

December 17, 2020 20.3 pip