Skip to main content

astro workspace switch


The behavior and format of this command differs depending on what Astronomer product you're using. Use the following tabs to change product contexts.

Switch between Workspaces.


astro workspace switch


OptionDescriptionValid Values
<workspace_id> (Optional)The ID of the Workspace you want to switch to. If not specified, the CLI prompts you to choose one.Any valid Workspace ID


Run astro workspace switch <workspace-id> to switch between Workspaces.

astro workspace switch clqw6uskr000008l9370y04jd

You can find a Workspace's ID by running astro workspace list, or by opening your Workspace and going to Workspace Settings > General in the Astro UI. On Astro, if you don't provide a Workspace ID, the CLI prompts you to pick from a list of Workspaces that you belong to in your current Organization.

Was this page helpful?

Sign up for Developer Updates

Get a summary of new Astro features once a month.

You can unsubscribe at any time.
By proceeding you agree to our Privacy Policy, our Website Terms and to receive emails from Astronomer.