- Windows
- Linux
Administrator privileges are required.
-
Install Anaconda Distribution or Miniconda for all users. When prompted, select All Users and use a location users have read access to (such as
C:\ProgramData\miniconda3). All users on the machine can now access conda through the Anaconda Prompt (or Anaconda PowerShell Prompt) application in the Start Menu. These applications activate thebaseenvironment automatically. -
Accept the Terms of Service.
If you are setting up Anaconda Distribution or Miniconda on behalf of members of your company, you can globally accept the Terms of Service for all users. If unrelated individual users are accessing Anaconda Distribution or Miniconda on the system, instead instruct users to accept the Terms of Service on an individual basis.For more information on
- System-wide TOS acceptance
- Individual TOS acceptance
Open Anaconda Prompt (or Anaconda PowerShell Prompt) from the Start Menu and run the following command:conda tos, see Managing Terms of Service on the command line. -
Optionally, create additional shared environments that all users can access.
To create a shared environment, run the following command in Anaconda Prompt (or Anaconda PowerShell Prompt) with administrator privileges:
When created with administrator privileges, shared environments are saved to
C:\ProgramData\anaconda3\envsorC:\ProgramData\miniconda3\envsand are accessible to all users.Users cannot modify shared system environments, but they can create their own private environments using the same command.User-created environments are saved to%USERPROFILE%\.conda\envsin the user’s home directory and are only accessible to that user. -
Optionally, monitor disk usage of the shared package cache at
C:\ProgramData\anaconda3\pkgsorC:\ProgramData\miniconda3\pkgs. Users share the system-wide package cache, which conda reads from first before falling back to each user’s own cache at%USERPROFILE%\.conda\pkgs. Runconda cleanperiodically to remove unused packages and free up disk space. -
Optionally, configure a global
.condarcfile atC:\ProgramData\anaconda3\.condarcorC:\ProgramData\miniconda3\.condarcto set system-wide defaults such as default channels. For example:The#!finalkeyword prevents users from overriding specific settings with their own.condarcfile. For a full list of configurable options, see Using the .condarc conda configuration file in the official conda documentation.