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

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>;

The `anaconda sites` command group manages site configuration in `~/.anaconda/config.toml`. It ships as part of the `anaconda-auth` package and is registered as a top-level subcommand under the `anaconda` CLI.

Sites define which Anaconda domain the CLI targets for authentication, repository access, and API calls. Most users need a single site entry pointing at their Anaconda Platform deployment. The typical setup workflow is:

1. `anaconda sites add --domain <FQDN> --default` to register your platform.
2. `anaconda auth login` to authenticate against it.

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

## Subcommands

<GTable cols="20% 80%">
  <GHead>
    <GRow>
      <GTH>Command</GTH>
      <GTH>Description</GTH>
    </GRow>
  </GHead>

  <GBody>
    <GRow>
      <GCell>[`list`](/docs/cli-reference/anaconda-auth/commands/sites-list)</GCell>
      <GCell>List configured sites by name and domain</GCell>
    </GRow>

    <GRow>
      <GCell>[`show`](/docs/cli-reference/anaconda-auth/commands/sites-show)</GCell>
      <GCell>Show site configuration for a site</GCell>
    </GRow>

    <GRow>
      <GCell>[`add`](/docs/cli-reference/anaconda-auth/commands/sites-add)</GCell>
      <GCell>Add new site configuration</GCell>
    </GRow>

    <GRow>
      <GCell>[`modify`](/docs/cli-reference/anaconda-auth/commands/sites-modify)</GCell>
      <GCell>Modify existing site configuration</GCell>
    </GRow>

    <GRow>
      <GCell>[`remove`](/docs/cli-reference/anaconda-auth/commands/sites-remove)</GCell>
      <GCell>Remove site configuration</GCell>
    </GRow>
  </GBody>
</GTable>

## Global options

<GTable cols="20% 80%">
  <GHead>
    <GRow>
      <GTH>Option</GTH>
      <GTH>Description</GTH>
    </GRow>
  </GHead>

  <GBody>
    <GRow>
      <GCell>`-h, --help`</GCell>
      <GCell>Show help message</GCell>
    </GRow>
  </GBody>
</GTable>
