snippetbashTip
poetry config — Edit poetry config settings and repositories. More information: <https://python-poetry.org/docs/cli/
Viewed 0 times
commandandpoetrycliconfigeditpoetry configsettings
Problem
How to use the
poetry config command: Edit poetry config settings and repositories. More information: <https://python-poetry.org/docs/cli/#config>.Solution
poetry config — Edit poetry config settings and repositories. More information: <https://python-poetry.org/docs/cli/#config>.List current configuration:
poetry config --listRemove the a previously set setting:
poetry config {{config_key}} --unsetSee 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 --migrateSet/Get settings that are specific to a project:
poetry config --localCode Snippets
List current configuration
poetry config --listRemove the a previously set setting
poetry config {{config_key}} --unsetSee 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 --migrateContext
tldr-pages: common/poetry config
Revisions (0)
No revisions yet.