HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

pip config — Manage local and global configuration for pip. More information: <https://pip.pypa.io/en/stable/cli/

Submitted by: @import:tldr-pages··
0
Viewed 0 times
configurationcommandpip configlocalandclimanageglobal

Problem

How to use the pip config command: Manage local and global configuration for pip. More information: <https://pip.pypa.io/en/stable/cli/pip_config/>.

Solution

pip config — Manage local and global configuration for pip. More information: <https://pip.pypa.io/en/stable/cli/pip_config/>.

List all configuration values:
pip config list


Show configuration files and their values:
pip config debug


Set the value for a command option:
pip config set {{command.option}} {{value}} {{--global|--user|--site}}


Get the value for a command option:
pip config get {{command.option}} {{--global|--user|--site}}


Unset the value for a command option:
pip config unset {{command.option}} {{--global|--user|--site}}


Edit the configuration file with the default editor:
pip config edit {{--global|--user|--site}}


Edit the configuration file with a specific editor:
pip config edit {{--global|--user|--site}} --editor {{path/to/editor_binary}}

Code Snippets

List all configuration values

pip config list

Show configuration files and their values

pip config debug

Set the value for a command option

pip config set {{command.option}} {{value}} {{--global|--user|--site}}

Get the value for a command option

pip config get {{command.option}} {{--global|--user|--site}}

Unset the value for a command option

pip config unset {{command.option}} {{--global|--user|--site}}

Context

tldr-pages: common/pip config

Revisions (0)

No revisions yet.