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

> [!NOTE]
>
> This command group is primarily for Package Security Manager (On-prem) users who need to point the CLI at their PSM repository instance instead of anaconda.com.

The `anaconda sites` command group manages site configuration in `~/.anaconda/config.toml`.

Sites define which Anaconda domain the CLI targets for authentication, repository access, and API calls. On-prem users need a site entry pointing at their PSM repository instance. The typical setup workflow is:

1. Register your PSM instance:

   ```sh theme={null}
   anaconda sites add --domain <FQDN> --default
   ```

   Comments

   Replace \<FQDN> with the fully qualified domain name of your PSM instance (for example, `psm.your-company.com`).

2. Authenticate against it:

   ```sh theme={null}
   anaconda auth login
   ```

   > [!TIP]
   >
   > Use `--dry-run` on any `sites` command that writes to `config.toml` (`add`, `modify`, `remove`) to preview the changes before they are applied.

## Subcommands

Command

Description

[`list`](https://anaconda.com/docs/cli-reference/anaconda-cli/commands/sites-list)

List configured sites by name and domain

[`show`](https://anaconda.com/docs/cli-reference/anaconda-cli/commands/sites-show)

Show site configuration for a site

[`add`](https://anaconda.com/docs/cli-reference/anaconda-cli/commands/sites-add)

Add new site configuration

[`modify`](https://anaconda.com/docs/cli-reference/anaconda-cli/commands/sites-modify)

Modify existing site configuration

[`remove`](https://anaconda.com/docs/cli-reference/anaconda-cli/commands/sites-remove)

Remove site configuration

## Global options

Option

Description

`-h, --help`

Show help message
