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

# anaconda-anon-usage

The `anaconda-anon-usage` package enables Anaconda to collect anonymous usage data and is installed with Anaconda Distribution and Miniconda. The package augments the request header data that conda delivers to package servers during index and package requests. The three randomly generated tokens used for this process are designed to reveal *no* personal identifying information.

<Tip>
  For more specific information on how `anaconda-anon-usage` works, see the package's [public Readme file on Github](https://github.com/anaconda/anaconda-anon-usage/blob/main/README.md).
</Tip>

<Note>
  The `anaconda-anon-usage` package is not a dependency of conda itself and Anaconda only wishes to collect data associated with usage of Anaconda products. If you exclusively use community installers like Miniforge and community channels like `conda-forge`, you are not affected by this package.
</Note>

## Disabling the package

There are two main methods to disabling the `anaconda-anon-usage` package:

* Set the `anaconda_anon_usage` configuration to `false` in your `.condarc` file
* Set the `CONDA_ANACONDA_ANON_USAGE` environment variable to `no`

<Tabs>
  <Tab title="Conda configuration command">
    1. Open Anaconda Prompt (Terminal on macOS/Linux).
    2. Disable `anaconda-anon-usage` by running the following command:

       ```sh theme={null}
       conda config --set anaconda_anon_usage off
       ```

    To re-enable `anaconda-anon-usage`, run the following command:

    ```sh theme={null}
    conda config --set anaconda_anon_usage on
    ```

    For more information on updating your `.condarc` file, see [Using the .condarc conda configuration file](https://docs.conda.io/projects/conda/en/stable/user-guide/configuration/use-condarc.html) in the conda documentation.
  </Tab>

  <Tab title="Conda environment variable">
    In order to support various platform and shell (terminal) combinations, conda enables several ways to set conda environment variables.

    One primary way is by editing your shell's startup script:

    1. Open your shell's startup script (for example, `~/.profile`, `~/.bashrc`, or `~/.zshrc`) in your text editor of choice.
    2. Add the following line:

       ```sh theme={null}
       export CONDA_ANACONDA_ANON_USAGE=no
       ```
    3. Save the file and restart your shell(s).

    <Note>
      Users on Posix-style platforms can also run `export CONDA_ANACONDA_ANON_USAGE=no` in their shell to disable anonymous usage tracking.
    </Note>

    For more information on conda's underlying activation classes, see the [Conda activate deep dive](https://docs.conda.io/projects/conda/en/stable/dev-guide/deep-dives/activation.html#conda-activate) in the conda documentation.
  </Tab>
</Tabs>
