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

## Usage

```bash theme={null}
anaconda sites remove [OPTIONS] <SITE>
```

Comments

Replace \<SITE> with the site name or domain name to remove.

## Description

Removes a site configuration from `~/.anaconda/config.toml`. The last remaining site cannot be removed. If the removed site was the default, the next available site becomes the new default.

**Side effects:** Writes to `~/.anaconda/config.toml`. A diff is shown for confirmation unless `--yes` or `--dry-run` is specified.

## Arguments

Argument

Description

`SITE`

*(required)* Site name or domain name to remove

## Options

Option

Description

`-y, --yes / --dry-run`

Confirm and write changes immediately, or print the diff without writing

`-h, --help`

Show help for this command

## Examples

**Remove a site by name**

```bash theme={null}
anaconda sites remove my-platform
```

**Preview site removal without writing**

```bash theme={null}
anaconda sites remove my-platform --dry-run
```

**Remove a site and confirm without prompting**

```bash theme={null}
anaconda sites remove my-platform --yes
```
