Skip to content

Commit

Permalink
docs: update poetry config dir on macos (#8062)
Browse files Browse the repository at this point in the history
  • Loading branch information
ralbertazzi authored Jun 5, 2023
1 parent 061e4fe commit e1344ef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Poetry can be configured via the `config` command ([see more about its usage her
or directly in the `config.toml` file that will be automatically created when you first run that command.
This file can typically be found in one of the following directories:

- macOS: `~/Library/Preferences/pypoetry`
- macOS: `~/Library/Application Support/pypoetry`
- Windows: `%APPDATA%\pypoetry`

For Unix, we follow the XDG spec and support `$XDG_CONFIG_HOME`.
Expand Down Expand Up @@ -123,7 +123,7 @@ Poetry uses the following default directories:

- Linux: `$XDG_CONFIG_HOME/pypoetry` or `~/.config/pypoetry`
- Windows: `%APPDATA%\pypoetry`
- MacOS: `~/Library/Preferences/pypoetry`
- MacOS: `~/Library/Application Support/pypoetry`

You can override the Config directory by setting the `POETRY_CONFIG_DIR` environment variable.

Expand Down

0 comments on commit e1344ef

Please sign in to comment.