Files
cheatsheet-tldr/tldr/poetry-config
2025-10-20 00:21:08 +00:00

34 lines
720 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
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 settings 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`