Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/tools/pub/cmd/pub-get.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ downloaded and stored locally once.

By default, the system package cache is located in the `.pub-cache`
subdirectory of your home directory (on Mac and Linux),
or in `%APPDATA%\Pub\Cache` (on Windows;
or in `%LOCALAPPDATA%\Pub\Cache` (on Windows;
the location might vary depending on the Windows version).
You can configure the location of the cache by setting the
[`PUB_CACHE`](/tools/pub/environment-variables)
Expand Down
2 changes: 1 addition & 1 deletion src/tools/pub/cmd/pub-global.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ locate the file for your platform and add it.
| Platform | Cache location |
|-------------------|---------------------------|
| macOS or Linux | `$HOME/.pub-cache/bin` |
| Windows<sup><strong>*</strong></sup> | `%APPDATA%\Pub\Cache\bin` |
| Windows<sup><strong>*</strong></sup> | `%LOCALAPPDATA%\Pub\Cache\bin` |
{:.table .table-striped}

<sup><strong>*</strong></sup> The exact location of the system cache
Expand Down
2 changes: 1 addition & 1 deletion src/tools/pub/environment-variables.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Environment variables allow you to customize pub to suit your needs.
: Some of pub's dependencies are downloaded to the pub cache.
By default, this directory is located under `.pub-cache`
in your home directory (on Mac and Linux),
or in `%APPDATA%\Pub\Cache` (on Windows). (The precise location of the
or in `%LOCALAPPDATA%\Pub\Cache` (on Windows). (The precise location of the
cache may vary depending on the Windows version.)
You can use the `PUB_CACHE` environment
variable to specify another location. For more information, see
Expand Down
2 changes: 1 addition & 1 deletion src/tools/pub/glossary.md
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ different [supported sources](/tools/pub/dependencies#dependency-sources) are av
When pub gets a remote package,
it downloads it into a single _system cache_ directory maintained by
pub. On Mac and Linux, this directory defaults to `~/.pub-cache`.
On Windows, the file lives in `%APPDATA%\Pub\Cache\bin`,
On Windows, the file lives in `%LOCALAPPDATA%\Pub\Cache\bin`,
though its exact location may vary depending on the Windows version.
You can specify a different location using the
[PUB_CACHE](/tools/pub/environment-variables) environment variable.
Expand Down