Anaconda Silent Install (How-To Guide)

Anaconda is a free and open-source distribution of the Python and R programming languages for scientific computing that aims to simplify package management and deployment. This article will serve as an informative guide and give you a clear understanding of how to perform a silent installation of Anaconda from the command line using the EXE installer.

How to Install Anaconda Silently

Anaconda 32-bit Silent Install (EXE)

  1. Navigate to: https://www.anaconda.com/products/individual#Downloads
  2. Download the Anaconda3-2022.xx-Windows-x86.exe to a folder created at (C:\Downloads)
  3. Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
  4. Navigate to the C:\Downloads folder
  5. Enter the following command:
    • Anaconda3-2022.xx-Windows-x86.exe /InstallationType=AllUsers /RegisterPython=1 /S
  6. Press Enter

After a few minutes you should see the Anaconda shortcut in the Start Menu, Installation Directory, and Programs and Features in the Control Panel.

Software Title:Anaconda3 (32-bit)
Vendor:Anaconda, Inc.
Architecture:x86
Installer Type:EXE
Silent Install Switch:Anaconda3-2022.xx-Windows-x86.exe /InstallationType=AllUsers /RegisterPython=1 /S
Silent Uninstall Switch:"%ProgramData%\Anaconda3\Uninstall-Anaconda3.exe" /S
Download Link:https://www.anaconda.com/products/individual#Downloads
PowerShell Script:https://silentinstallhq.com/anaconda-install-and-uninstall-powershell/
Detection Script:https://silentinstallhq.com/create-a-custom-detection-script-for-anaconda-powershell/

Anaconda 64-bit Silent Install (EXE)

  1. Navigate to: https://www.anaconda.com/products/individual#Downloads
  2. Download the Anaconda3-2022.xx-Windows-x86_64.exe to a folder created at (C:\Downloads)
  3. Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
  4. Navigate to the C:\Downloads folder
  5. Enter the following command:
    • Anaconda3-2022.xx-Windows-x86_64.exe /InstallationType=AllUsers /RegisterPython=1 /S
  6. Press Enter

After a few minutes you should see the Anaconda shortcut in the Start Menu, Installation Directory, and Programs and Features in the Control Panel.

Software Title:Anaconda3 (64-bit)
Vendor:Anaconda, Inc.
Architecture:x64
Installer Type:EXE
Silent Install Switch:Anaconda3-2022.xx-Windows-x86_64.exe /InstallationType=AllUsers /RegisterPython=1 /S
Silent Uninstall Switch:"%ProgramData%\Anaconda3\Uninstall-Anaconda3.exe" /S
Download Link:https://www.anaconda.com/products/individual#Downloads
PowerShell Script:https://silentinstallhq.com/anaconda-install-and-uninstall-powershell/
Detection Script:https://silentinstallhq.com/create-a-custom-detection-script-for-anaconda-powershell/

The information above provides a quick overview of the software title, vendor, silent install, and silent uninstall switches. The download links provided take you directly to the vendors website. Continue reading if you are interested in additional details and configurations.


Additional Configurations

Install Anaconda for Current User Only

Anaconda 32-bit Silent Install (Current User Only)

Anaconda3-2022.xx-Windows-x86.exe /InstallationType=JustMe /RegisterPython=1 /S

Anaconda 64-bit Silent Install (Current User Only)

Anaconda3-2022.xx-Windows-x86_64.exe /InstallationType=JustMe /RegisterPython=1 /S

Change the Anaconda Default Installation Directory

You can also change the default installation directory by using the following command line parameters. In this example, I’m installing Anaconda to “C:\Anaconda3”

Anaconda3-2022.xx-Windows-x86_64.exe /InstallationType=AllUsers /RegisterPython=1 /S /D=C:\Anaconda3

Do Not Add To PATH Environment Variable

Anaconda3-2022.xx-Windows-x86_64.exe /InstallationType=AllUsers /AddToPath=0 /RegisterPython=1 /S

Do Not Set As Systems Default Python

Anaconda3-2022.xx-Windows-x86_64.exe /InstallationType=JustMe /RegisterPython=0 /S

How to Uninstall Anaconda Silently

Check out the following posts for a scripted solution:

Anaconda Install and Uninstall (PowerShell)
Anaconda Silent Uninstall (PowerShell)
  1. Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
  2. Enter one of the following commands:

Anaconda3 Silent Uninstall (EXE)

"%ProgramData%\Anaconda3\Uninstall-Anaconda3.exe" /S

Anaconda2 Silent Uninstall (EXE)

"%ProgramData%\Anaconda2\Uninstall-Anaconda2.exe" /S

Always make sure to test everything in a development environment prior to implementing anything into production. The information in this article is provided “As Is” without warranty of any kind.