mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-07 11:45:37 +00:00
38 lines
905 B
Plaintext
38 lines
905 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# 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}}`
|