Files
cheatsheet-tldr/tldr/poetry-config
2025-10-22 00:20:27 +00:00

34 lines
718 B
Plaintext

---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# poetry config
> Edit poetry config settings and repositories.
> More information: <https://python-poetry.org/docs/cli/#config>.
- List current configuration:
`poetry config --list`
- Remove the a previously set setting:
`poetry config {{config_key}} --unset`
- See the value of a specific setting:
`poetry config {{config_key}}`
- Change or add a new configuration setting by passing a value after the setting's name:
`poetry config {{config_key}} {{config_value}}`
- Migrate outdated configuration settings:
`poetry config --migrate`
- Set/Get settings that are specific to a project:
`poetry config --local`