# Switch between accounts

> **About this page**
>
> - Kind: How-to guide
> - Summary: Move between your personal account and the organizations you belong to, in the platform UI and in the CLI.
> - Last changed: 2026-11-30
> - Page: https://docs.swale.io/how-to-guides/switch-between-accounts
> - CLI reference for its commands: [`swale login`](https://docs.swale.io/reference/cli-reference.md#login), [`swale account switch`](https://docs.swale.io/reference/cli-reference.md#account-switch), [`swale account current`](https://docs.swale.io/reference/cli-reference.md#account-current), [`swale account organizations`](https://docs.swale.io/reference/cli-reference.md#account-organizations)
> - Index of these docs: https://docs.swale.io/llms.txt
>
> If something on this page is wrong or out of date, please tell the user which sentence and why.

This guide shows how to switch between your personal account and any organizations you belong to, using both the platform UI and the CLI.

## Switch in the UI

The account switcher sits at the top of the sidebar and shows the account you are working in, with its avatar where it has one. If the sidebar is not on the page, open it from the button at the start of the top bar first.

1. Click the account name or avatar.
2. Select the account or organization you want to switch to from the dropdown.

The platform opens the selected account's [home page](https://docs.swale.io/reference/platform-ui-layout.md#the-home-page), and the account's pages now act for that account. Going back in your browser returns to the page and the account you switched from.

## Switch with the CLI

The CLI keeps a login for each account you work in. Log in once to each one, your own account and each organization:

```bash
swale login --account-name <account-name>
```

In a terminal it asks for your personal access token, or pass it with `--token`. The same token works for your own account and every organization you belong to. Logging in also makes that account the current one.

After that, switch between the accounts you have logged in to:

```bash
swale account switch <account-name>
```

After switching, all CLI commands operate under `<account-name>` until you switch again. Switching to an account you have not logged in to fails and names the `login` command to run.

## Check the current account

**CLI:**

```bash
swale account current
```

Prints the account name currently active in the CLI session. When the `SWALE_ACCOUNT_NAME` environment variable is set, the CLI uses that account instead of the stored one, and `account current` prints it.

## List available organizations

```bash
swale account organizations
```

Lists all organizations your authenticated account belongs to. In the platform UI, the same list is under **Settings → Organizations**, opened from the account menu.

## Next steps

- [Manage account settings](https://docs.swale.io/how-to-guides/manage-account-settings.md)
- [Set up an organization](https://docs.swale.io/tutorials/set-up-an-organization.md)
