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.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.
Package cache locations
Normal installation sets a package cache relative to the install directory, which can be found (underpackage cache) with the following command:
- 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. 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
.condarc with the following entry, specifying the full path to the shared directory:
conda info again.