> ## Documentation Index
> Fetch the complete documentation index at: https://anaconda.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Configuring a shared package cache

Conda maintains a package cache, a local directory where downloaded packages are stored before being installed into environments. By default, each conda installation uses its own isolated package cache, meaning the same package versions are downloaded and stored separately for each user or installation. Configuring multiple conda installations to share a common package cache can significantly reduce download times and conserve disk space, as packages only need to be downloaded once and can then be reused across all installations that reference the shared cache.

## Package cache locations

Normal installation sets a package cache relative to the install directory, which can be found (under `package cache`) with the following command:

```sh theme={null}
conda info
```

The typical path to the package cache is:

* **Windows**: `C:\Users\username\Anaconda3\pkgs`
* **macOS**: `~/anaconda3`
* **Linux**: `/home/username/anaconda3/pkgs`

## Shared package cache setup

Create a directory on your system where the shared users have read and write access.

Danger

If you are using the Free plan, take caution when sharing your directory. If you have paid for access to the premium repository, you can [enable signature verification](https://anaconda.com/docs/anaconda-platform/user/packages.md#enabling-conda-signature-verification) to include an additional layer of security to your packages. For more information on conda signature verification, see our blog [Anaconda Content Trust: Conda Signature Verification](https://www.anaconda.com/blog/conda-signature-verification).

Then, for each user who will have access, edit the `.condarc` file found in their home directory.

* **Windows**: `C:\Users\username\.condarc`

* **macOS and Linux**: `/home/username/.condarc`

Edit the `.condarc` with the following entry, specifying the full path to the shared directory:

```sh theme={null}
pkgs_dirs:
    - /path/to/shared_directory
```

Verify the package cache by running `conda info` again.
