pip config


pip config [<file-option>] list
pip config [<file-option>] [--editor <editor-path>] edit

pip config [<file-option>] get name
pip config [<file-option>] set name value
pip config [<file-option>] unset name
pip config [<file-option>] debug


Manage local and global configuration.


  • list: List the active configuration (or from the file specified)

  • edit: Edit the configuration file in an editor

  • get: Get the value associated with name

  • set: Set the name=value

  • unset: Unset the value associated with name

  • debug: List the configuration files and values defined under them

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.


--editor <editor>

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


Use the system-wide configuration file only


Use the user configuration file only


Use the current environment configuration file only