> ## Documentation Index
> Fetch the complete documentation index at: https://astronomer.io/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# astro context switch

<Info>The behavior and format of this command are the same for both Astro and Astro Private Cloud.</Info>

Switch to a different Astronomer installation. You can switch to a given Astronomer installation only if you have authenticated to it at least once using `astro login`. If you have not authenticated, run `astro login <base-domain>` instead.

Note that after switching to a different Astronomer installation, you might have to re-authenticate to the installation using `astro login`.

## Usage

```sh wrap theme={null}
astro context switch <basedomain>
```

## Related commands

* [astro context list](/docs/cli/v1.40/astro-context-list)
* [astro context delete](/docs/cli/v1.40/astro-context-delete)
