Skip to content

Commit

Permalink
changed to the wording about default directories
Browse files Browse the repository at this point in the history
  • Loading branch information
mohan43u committed May 30, 2022
1 parent c4fddc7 commit 155e34a
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions docs/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,32 +117,31 @@ export POETRY_HTTP_BASIC_MY_REPOSITORY_PASSWORD=secret

## Default Directories

Poetry uses these following default directories
Poetry uses the following default directories:

### Config Directory

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

You can override this Config directory by setting `POETRY_CONFIG_DIR` environment variable

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

### Data Directory

- Linux: `$XDG_DATA_HOME/pypoetry` or `~/.local/share/pypoetry`
- Windows: `%APPDATA%\pypoetry`
- MacOS: `~/Library/Application Support/pypoetry`

You can override this Data Directory by setting `POETRY_DATA_DIR` environment variable. If `POETRY_HOME` environment variable is available, then `POETRY_HOME` will be given higher priority.
You can override the Data directory by setting the `POETRY_DATA_DIR` or `POETRY_HOME` environment variables. If `POETRY_HOME` is set, it will be given higher priority.

### Cache Directory

- Linux: `$XDG_CACHE_HOME/pypoetry` or `~/.cache/pypoetry`
- Windows: `%APPDATA%\pypoetry\Cache`
- MacOS: `~/Library/Caches/pypoetry`

You can override this Cache directory by setting `POETRY_CACHE_DIR` environment variable
You can override the Cache directory by setting the `POETRY_CACHE_DIR` environment variable.

## Available settings

Expand Down

0 comments on commit 155e34a

Please sign in to comment.