> ## Documentation Index
> [HTML page](https://blode.md/docs/cli/whoami)
> [Documentation index](https://blode.md/docs/llms.txt)
> Use the index to discover all available pages before exploring further.

# edda whoami

Print the email for the active Edda CLI session, refresh stored OAuth credentials when needed, and confirm you are logged in before deploying.

Print the email of the active browser session.

Run `edda whoami` when you need to confirm which GitHub account the CLI will use for deploys. This is especially helpful on shared machines, after switching between personal and work accounts, or when a `edda push` fails with an auth error. The command refreshes stored OAuth credentials when possible, so a successful run means your session is still valid for push and dashboard-linked commands.

Typical workflow: run `edda login` once, then `edda whoami` before your first push on a new laptop. If whoami shows the wrong email, run `edda logout` and sign in again.

```bash
edda whoami
```

The CLI reads your stored OAuth session, refreshes it if needed, and displays your email. If your session has expired and can't be refreshed, the CLI prints a warning and asks you to run `edda login` again.

This command has no flags.

## Examples

```bash
$ edda whoami
~ Logged in as you@example.com
i Done
```

## Related pages

- [edda login](/cli/login) -- sign in with GitHub when whoami shows no session
- [edda logout](/cli/logout) -- clear credentials before switching accounts
- [CLI overview](/cli/overview) -- full command list and install steps