> ## 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.

# Installing with silent mode

export const GCell = ({children, className}) => <div className={`grid-table-cell ${className || ""}`} role="cell">
    {children}
  </div>;

export const GTH = ({children, className}) => <div className={`grid-table-th ${className || ""}`} role="columnheader">
    {children}
  </div>;

export const GRow = ({children}) => <div className="grid-table-row" role="row">{children}</div>;

export const GBody = ({children}) => <div className="grid-table-body" role="rowgroup">{children}</div>;

export const GHead = ({children}) => <div className="grid-table-head" role="rowgroup">{children}</div>;

export const GTable = ({children, className, cols}) => <div className={`grid-table not-prose overflow-hidden rounded-2xl ${className || ""}`} style={{
  "--grid-table-cols": cols
}} role="table">
    {children}
  </div>;

export const TroubleshootSolution = ({children}) => <>
    <hr className="my-3 w-full" />
    <details className="mt-3">
      <summary className="cursor-pointer font-semibold text-base mb-1">
        Solution
      </summary>
      <div className="mt-2 ml-4" data-component-part="step-content">
        {children}
      </div>
    </details>
  </>;

export const TroubleshootCause = ({children}) => <details className="mt-3 mb-2">
    <summary className="cursor-pointer font-semibold text-base mb-1">
      Cause
    </summary>
    <div className="mt-2 ml-4" data-component-part="step-content">
      {children}
    </div>
  </details>;

export const TroubleshootTitle = ({children}) => <>
    <p className="m-0 font-semibold text-xl leading-tight mb-2" role="heading" aria-level={3}>
      {children}
    </p>
    <hr className="my-3 w-full" />
  </>;

export const Troubleshoot = ({children}) => <div className="callout my-4 px-5 py-4 overflow-hidden rounded-2xl flex gap-3 border troubleshoot-admonition dark:troubleshoot-admonition" data-callout-type="troubleshoot">
    <div className="mt-0.5 w-4">
      <svg width="14" height="14" viewBox="0 0 640 640" fill="currentColor" className="w-4 h-4" aria-label="Troubleshoot">
        <path d="M541.4 162.6C549 155 561.7 156.9 565.5 166.9C572.3 184.6 576 203.9 576 224C576 312.4 504.4 384 416 384C398.5 384 381.6 381.2 365.8 376L178.9 562.9C150.8 591 105.2 591 77.1 562.9C49 534.8 49 489.2 77.1 461.1L264 274.2C258.8 258.4 256 241.6 256 224C256 135.6 327.6 64 416 64C436.1 64 455.4 67.7 473.1 74.5C483.1 78.3 484.9 91 477.4 98.6L388.7 187.3C385.7 190.3 384 194.4 384 198.6L384 240C384 248.8 391.2 256 400 256L441.4 256C445.6 256 449.7 254.3 452.7 251.3L541.4 162.6z" />
      </svg>
    </div>
    <div className="prose min-w-0 w-full">{children}</div>
  </div>;

export const Comments = ({children}) => {
  return <div class="my-4 px-5 py-4 overflow-hidden rounded-2xl flex gap-3 border border-zinc-500/20 bg-zinc-50/50 dark:border-zinc-500/30 dark:bg-zinc-500/10" data-callout-type="comments">
      <div class="w-4">
        <svg width="14" height="14" viewBox="0 0 640 640" fill="currentColor" xmlns="http://www.w3.org/2000/svg" class="w-5 h-5" aria-label="Comments">
            <path d="M320 112C434.9 112 528 205.1 528 320C528 434.9 434.9 528 320 528C205.1 528 112 434.9 112 320C112 205.1 205.1 112 320 112zM320 576C461.4 576 576 461.4 576 320C576 178.6 461.4 64 320 64C178.6 64 64 178.6 64 320C64 461.4 178.6 576 320 576zM280 400C266.7 400 256 410.7 256 424C256 437.3 266.7 448 280 448L360 448C373.3 448 384 437.3 384 424C384 410.7 373.3 400 360 400L352 400L352 312C352 298.7 341.3 288 328 288L280 288C266.7 288 256 298.7 256 312C256 325.3 266.7 336 280 336L304 336L304 400L280 400zM320 256C337.7 256 352 241.7 352 224C352 206.3 337.7 192 320 192C302.3 192 288 206.3 288 224C288 241.7 302.3 256 320 256z" />
        </svg>
      </div>
      <div class="text-sm prose min-w-0 w-full">
        {children}
      </div>
    </div>;
};

Silent mode installation allows Anaconda Distribution or Miniconda to be installed automatically without user interaction, making it ideal for automated deployments, enterprise environments, or when installing across multiple machines. When launching the installer in silent mode, you can supply the installation arguments detailed below through your command line interface (CLI) or with a script.

<Tabs>
  <Tab title="Anaconda Distribution">
    These command-line instructions will get you set up quickly with the latest Anaconda Distribution installer. Follow the steps for your system to download and silently install Anaconda Distribution:

    <Tabs>
      <Tab title="Windows">
        1. Download the Anaconda Distribution installer manually from [anaconda.com/download](https://www.anaconda.com/download) or use one of the following commands to download the installer with Command Prompt or Powershell:

                   <CodeGroup>
                     ```sh Command Prompt theme={null}
                     curl https://repo.anaconda.com/archive/Anaconda3-2025.12-2-Windows-x86_64.exe --output .\Anaconda3-2025.12-2-Windows-x86_64.exe
                     ```

                     ```sh Powershell theme={null}
                     Invoke-WebRequest -Uri "https://repo.anaconda.com/archive/Anaconda3-2025.12-2-Windows-x86_64.exe" -OutFile ".\Anaconda3-2025.12-2-Windows-x86_64.exe"
                     ```
                   </CodeGroup>

                   <Note>
                     For instructions on downloading an older installer version, see [Using older installer versions](/getting-started/advanced-install/old-os).
                   </Note>

        2. Run the Windows installer for Anaconda Distribution in silent mode by using the `/S` argument. The following optional arguments are also supported:

                   <GTable cols="40% 60%">
                     <GHead>
                       <GRow>
                         <GTH>Argument</GTH>
                         <GTH>Description</GTH>
                       </GRow>
                     </GHead>

                     <GBody>
                       <GRow>
                         <GCell>**`/InstallationType=[JustMe|AllUsers]`**</GCell>
                         <GCell>Default is `JustMe`.</GCell>
                       </GRow>

                       <GRow>
                         <GCell>**`/AddToPath=[0|1]`**</GCell>
                         <GCell>Default is `0`.</GCell>
                       </GRow>

                       <GRow>
                         <GCell>**`/RegisterPython=[0|1]`**</GCell>
                         <GCell>Make this installer's Python the system's default Python. Default is `0`.</GCell>
                       </GRow>

                       <GRow>
                         <GCell>**`/S`**</GCell>
                         <GCell>Install in silent mode.</GCell>
                       </GRow>

                       <GRow>
                         <GCell>**`/D=<installation path>`**</GCell>
                         <GCell>Destination installation path. Must be the last argument. Do not wrap in quotation marks. Required if installing in silent mode.</GCell>
                       </GRow>
                     </GBody>
                   </GTable>

           All arguments are case-sensitive.

           For example, the following batch file command installs Anaconda Distribution for the current user without registering Python as the system's default:

           ```sh theme={null}
           start /wait "" Anaconda3-2025.12-2-Windows-x86_64.exe /InstallationType=JustMe /RegisterPython=0 /S /D=%UserProfile%Anaconda3
           ```

                   <Note>
                     As of `Anaconda Distribution 2022.05`, the option to add Anaconda to the PATH environment variable during an **All Users** installation has been disabled. This was done to address [a security exploit](https://nvd.nist.gov/vuln/detail/CVE-2022-26526). You can still add Anaconda to the PATH environment variable during a **Just Me** installation.
                   </Note>
      </Tab>

      <Tab title="macOS/Linux">
        1. Download the Anaconda Distribution installer manually from [anaconda.com/download](https://www.anaconda.com/download) or use one of the following commands to download the installer with the command line:

                   <Tabs>
                     <Tab title="macOS">
                       ```sh theme={null}
                       curl -O https://repo.anaconda.com/archive/Anaconda3-2025.12-2-MacOSX-arm64.sh
                       ```
                     </Tab>

                     <Tab title="Linux x86">
                       <CodeGroup>
                         ```sh curl theme={null}
                         curl -O https://repo.anaconda.com/archive/Anaconda3-2025.12-2-Linux-x86_64.sh
                         ```

                         ```sh wget theme={null}
                         wget https://repo.anaconda.com/archive/Anaconda3-2025.12-2-Linux-x86_64.sh
                         ```
                       </CodeGroup>
                     </Tab>

                     <Tab title="Linux AWS Graviton2/ARM64">
                       <CodeGroup>
                         ```sh curl theme={null}
                         curl -O https://repo.anaconda.com/archive/Anaconda3-2025.12-2-Linux-aarch64.sh
                         ```

                         ```sh wget theme={null}
                         wget https://repo.anaconda.com/archive/Anaconda3-2025.12-2-Linux-aarch64.sh
                         ```
                       </CodeGroup>
                     </Tab>
                   </Tabs>

                   <Note>
                     For instructions on downloading an older installer version, see [Using older installer versions](/getting-started/advanced-install/old-os).
                   </Note>

        2. Run the silent installation for macOS or Linux by specifying the `-b` and `-p` arguments of the bash installer. The following arguments are supported:

                   <GTable cols="15% 85%">
                     <GHead>
                       <GRow>
                         <GTH>Flag</GTH>
                         <GTH>Description</GTH>
                       </GRow>
                     </GHead>

                     <GBody>
                       <GRow>
                         <GCell>**`-b`**</GCell>
                         <GCell>Batch mode with no PATH modifications to `~/.bashrc`. Assumes that you agree to the license agreement. Does not edit the `.bashrc` or `.bash_profile` files.</GCell>
                       </GRow>

                       <GRow>
                         <GCell>**`-p`**</GCell>
                         <GCell>Installation prefix/path.</GCell>
                       </GRow>

                       <GRow>
                         <GCell>**`-u`**</GCell>
                         <GCell>Update/reinstall an existing Anaconda Distribution installation in the specified directory. Use when installing over a previous or partial installation. Not required for fresh installations.</GCell>
                       </GRow>

                       <GRow>
                         <GCell>**`-f`**</GCell>
                         <GCell>Force installation even if the installation prefix/path already exists.</GCell>
                       </GRow>
                     </GBody>
                   </GTable>

           For example, the following batch file command installs Anaconda Distribution for the current user without registering Python as the system's default:

           ```sh theme={null}
           bash ./Anaconda3-2025.12-2-MacOSX-x86_64.sh -b -p $HOME/anaconda3
           ```

           The installer will not prompt you for anything, including setup of your shell to activate conda. To add this activation in your current shell session:

           ```sh theme={null}
           source ~/anaconda3/bin/activate
           ```

           With this activated shell, install conda's shell functions for easier access in the future:

           ```sh theme={null}
           conda init --all
           ```

                   <Note>
                     Using `conda init` modifies some of your shell configuration files, such as `.bash_profile` or `.zshrc`. To test which files `conda init` is going to modify on your system, run the command with the `--dry-run` flag.

                     ```sh theme={null}
                     conda init --all --dry-run
                     ```

                     Including `--dry-run` prevents conda from making any actual file updates.
                   </Note>

           If you'd prefer that conda's base environment not be activated on startup, set the `auto_activate_base` parameter to false:

           ```sh theme={null}
           conda config --set auto_activate_base false
           ```
      </Tab>
    </Tabs>
  </Tab>

  <Tab title="Miniconda">
    These command-line instructions will get you set up quickly with the latest Miniconda installer. Follow the steps for your system to download and silently install Miniconda:

    <Tabs>
      <Tab title="Windows">
        1. Download the Miniconda installer manually from [anaconda.com/download](https://www.anaconda.com/download) or use one of the following commands to download the installer with Command Prompt or Powershell:

                   <CodeGroup>
                     ```sh Command Prompt theme={null}
                     curl https://repo.anaconda.com/miniconda/Miniconda3-latest-Windows-x86_64.exe --output .\Miniconda3-latest-Windows-x86_64.exe
                     ```

                     ```sh Powershell theme={null}
                     Invoke-WebRequest -Uri "https://repo.anaconda.com/miniconda/Miniconda3-latest-Windows-x86_64.exe" -OutFile ".\Miniconda3-latest-Windows-x86_64.exe"
                     ```
                   </CodeGroup>

                   <Note>
                     For instructions on downloading an older installer version, see [Using older installer versions](/getting-started/advanced-install/old-os).
                   </Note>

        2. Run the Windows installer for Miniconda in silent mode by using the `/S` argument. The following optional arguments are also supported:

                   <GTable cols="40% 60%">
                     <GHead>
                       <GRow>
                         <GTH>Argument</GTH>
                         <GTH>Description</GTH>
                       </GRow>
                     </GHead>

                     <GBody>
                       <GRow>
                         <GCell>**`/InstallationType=[JustMe|AllUsers]`**</GCell>
                         <GCell>Default is `JustMe`.</GCell>
                       </GRow>

                       <GRow>
                         <GCell>**`/AddToPath=[0|1]`**</GCell>
                         <GCell>Default is `0`.</GCell>
                       </GRow>

                       <GRow>
                         <GCell>**`/RegisterPython=[0|1]`**</GCell>
                         <GCell>Make this installer's Python the system's default Python. Default is `0`.</GCell>
                       </GRow>

                       <GRow>
                         <GCell>**`/S`**</GCell>
                         <GCell>Install in silent mode.</GCell>
                       </GRow>

                       <GRow>
                         <GCell>**`/D=<installation path>`**</GCell>
                         <GCell>Destination installation path. Must be the last argument. Do not wrap in quotation marks. Required if installing in silent mode.</GCell>
                       </GRow>
                     </GBody>
                   </GTable>

           All arguments are case-sensitive.

           For example, the following batch file command installs Anaconda Distribution for the current user without registering Python as the system's default:

           ```sh theme={null}
           start /wait "" Miniconda3-latest-Windows-x86_64.exe /InstallationType=JustMe /RegisterPython=0 /S /D=%UserProfile%Miniconda3
           ```
      </Tab>

      <Tab title="macOS/Linux">
        1. Download the Miniconda installer manually from [anaconda.com/download](https://www.anaconda.com/download) or use one of the following commands to download the installer with the command line:

                   <Tabs>
                     <Tab title="macOS">
                       ```sh theme={null}
                       curl -O https://repo.anaconda.com/miniconda/Miniconda3-latest-MacOSX-arm64.sh
                       ```
                     </Tab>

                     <Tab title="Linux x86">
                       <CodeGroup>
                         ```sh curl theme={null}
                         curl -O https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh
                         ```

                         ```sh wget theme={null}
                         wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh
                         ```
                       </CodeGroup>
                     </Tab>

                     <Tab title="Linux AWS Graviton2/ARM64">
                       <CodeGroup>
                         ```sh curl theme={null}
                         curl -O https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-aarch64.sh
                         ```

                         ```sh wget theme={null}
                         wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-aarch64.sh
                         ```
                       </CodeGroup>
                     </Tab>
                   </Tabs>

                   <Note>
                     For instructions on downloading an older installer version, see [Using older installer versions](/getting-started/advanced-install/old-os).
                   </Note>

        2. Run the silent installation for macOS or Linux by specifying the `-b` and `-p` arguments of the bash installer. The following arguments are supported:

                   <GTable cols="15% 85%">
                     <GHead>
                       <GRow>
                         <GTH>Flag</GTH>
                         <GTH>Description</GTH>
                       </GRow>
                     </GHead>

                     <GBody>
                       <GRow>
                         <GCell>**`-b`**</GCell>
                         <GCell>Batch mode with no PATH modifications to `~/.bashrc`. Assumes that you agree to the license agreement. Does not edit the `.bashrc` or `.bash_profile` files.</GCell>
                       </GRow>

                       <GRow>
                         <GCell>**`-p`**</GCell>
                         <GCell>Installation prefix/path.</GCell>
                       </GRow>

                       <GRow>
                         <GCell>**`-u`**</GCell>
                         <GCell>Update/reinstall an existing Miniconda installation in the specified directory. Use when installing over a previous or partial installation. Not required for fresh installations.</GCell>
                       </GRow>

                       <GRow>
                         <GCell>**`-f`**</GCell>
                         <GCell>Force installation even if the installation prefix/path already exists.</GCell>
                       </GRow>
                     </GBody>
                   </GTable>

           For example, the following batch file command installs Anaconda Distribution for the current user without registering Python as the system's default:

           ```sh theme={null}
           bash ./Miniconda3-latest-MacOSX-x86_64.sh -b -p $HOME/miniconda3
           ```

           The installer will not prompt you for anything, including setup of your shell to activate conda. To add this activation in your current shell session:

           ```sh theme={null}
           source ~/miniconda3/bin/activate
           ```

           With this activated shell, install conda's shell functions for easier access in the future:

           ```sh theme={null}
           conda init --all
           ```

                   <Note>
                     Using `conda init` modifies some of your shell configuration files, such as `.bash_profile` or `.zshrc`. To test which files `conda init` is going to modify on your system, run the command with the `--dry-run` flag.

                     ```sh theme={null}
                     conda init --all --dry-run
                     ```

                     Including `--dry-run` prevents conda from making any actual file updates.
                   </Note>

           If you'd prefer that conda's base environment not be activated on startup, set the `auto_activate_base` parameter to false:

           ```sh theme={null}
           conda config --set auto_activate_base false
           ```
      </Tab>
    </Tabs>
  </Tab>
</Tabs>

## Troubleshooting

<Troubleshoot>
  <TroubleshootTitle>
    ### command not found: conda
  </TroubleshootTitle>

  <TroubleshootCause>
    The `command not found: conda` error occurs when your command line interface (CLI) can't find the conda command in order to use it. This might be because:

    * You don't have conda properly initialized.
    * You have set `auto_activate_base` to `false`.
    * You're using a shell that conda doesn't support.
    * Conda is not installed or the install was incomplete or corrupted.

    <Note>
      These issues primarily occur on macOS/Linux computers. Anaconda Distribution and Miniconda installations on Windows include [Anaconda Prompt](/reference/glossary#anaconda-prompt), which opens with conda initialized by default.
    </Note>
  </TroubleshootCause>

  <TroubleshootSolution>
    <AccordionGroup>
      <Accordion title="Initialize conda in your shell">
        If you recently installed Anaconda Distribution or Miniconda, make sure you closed and reopened your CLI to make conda's initialization take effect.

        <Tip>
          If you don't want to close your CLI, you can also use one of the following `source` commands to refresh your shell:

          <CodeGroup>
            ```sh bash theme={null}
            source ~/.bashrc
            ```

            ```sh zsh theme={null}
            source ~/.zshrc
            ```

            ```sh fish theme={null}
            source ~/.config/fish/config.fish
            ```

            ```sh cshrc theme={null}
            source ~/.cshrc
            ```

            ```sh xonshrc theme={null}
            source ~/.xonshrc
            ```
          </CodeGroup>

          <Comments>
            Use the command that matches your shell.
          </Comments>
        </Tip>

        You can also initialize conda directly from its `bin` directory:

        <CodeGroup>
          ```sh Initialization command theme={null}
          <PATH_TO_CONDA>/bin/conda init
          ```

          ```sh Examples theme={null}
          miniconda3/bin/conda init
          /opt/miniconda3/bin/conda init
          anaconda3/bin/conda init
          /opt/anaconda3/bin/conda init
          ```
        </CodeGroup>

        <Comments>
          Replace \<PATH\_TO\_CONDA> with a path to your conda installation.
        </Comments>
      </Accordion>

      <Accordion title="Set auto_activate_base to true">
        To see the value for `auto_activate_base`, run the following command:

        ```sh theme={null}
        conda config --describe auto_activate_base
        ```

        If your terminal returns `false`, this means that conda is not automatically activating your base environment when you start a new shell. This behavior emulates your system Python, and some users prefer to have their conda environment be inactive until they need it. However, this is not conda's default behavior after installation.

        To change the value of `auto_activate_base` to `true`, run the following command:

        ```sh theme={null}
        conda config --set auto_activate_base true
        ```

        If you have `auto_activate_base` set as `false`, the conda command will still be available as a shell function, but your base environment will not be active when a new shell is started. To activate your base environment, run `conda activate`.
      </Accordion>

      <Accordion title="Use a shell that conda supports">
        For information on which shells conda supports, see [Conda activate](https://docs.conda.io/projects/conda/en/stable/dev-guide/deep-dives/activation.html#conda-activate) in the official conda documentation.
      </Accordion>

      <Accordion title="Verify your installation of conda">
        If you have tried to initialize conda in your shell but it didn't work, try uninstalling and reinstalling [Anaconda Distribution](/getting-started/anaconda/main) or [Miniconda](/getting-started/miniconda/main).

        <Tip>
          Make sure that you say yes to the initialization option, and, if installing from the CLI, reinitialize your shell by restarting it or using its `source` command. For more information, see [Initialize conda in your shell](#initialize-conda-in-your-shell).
        </Tip>
      </Accordion>
    </AccordionGroup>
  </TroubleshootSolution>
</Troubleshoot>
