# checkly whoami - Checkly Docs

> Display current account and user information.

Source: https://www.checklyhq.com/docs/cli/checkly-whoami/

---

- Usage Authenticated
- Not Authenticated

- Related Commands

CLI Commands

# checkly whoami

Display current account and user information.

The `checkly whoami` command displays detailed information about your current Checkly authentication, including the logged-in user account and active Checkly account details.
This command can also be run without authentication to check your current status.

## ​ Usage

The basic command shows current authentication status and account information.
Terminal

```
npx checkly whoami
```

### ​ Authenticated

If you’re logged in, you’ll see:
Terminal

```
npx checkly whoami

You are currently on account "Monitoring as Code" (b2f...) as raccoon@checklyhq.com.
```

### ​ Not Authenticated

If not logged in, you’ll see:
Terminal

```
npx checkly whoami

Error: Run `npx checkly login` or manually set `CHECKLY_API_KEY` & `CHECKLY_ACCOUNT_ID`
environment variables to setup authentication.
```

## ​ Related Commands

- [`checkly login`](https://www.checklyhq.com/docs/cli/checkly-login) - Sign in to your Checkly account

- [`checkly logout`](https://www.checklyhq.com/docs/cli/checkly-logout) - Sign out of your Checkly account

- [`checkly switch`](https://www.checklyhq.com/docs/cli/checkly-switch) - Switch between multiple accounts

Was this page helpful?

[Suggest edits](https://github.com/checkly/docs/edit/main/cli/checkly-whoami.mdx)[Raise issue](https://github.com/checkly/docs/issues/new?title=Issue%20on%20docs&body=Path:%20/cli/checkly-whoami)

[checkly trigger Previous](https://www.checklyhq.com/docs/cli/checkly-trigger)

[x](https://x.com/checklyhq)[github](https://github.com/checkly)[linkedin](https://linkedin.com/company/checkly)

[Powered by This documentation is built and hosted on Mintlify, a developer documentation platform](https://www.mintlify.com/?utm_campaign=poweredBy&utm_medium=referral&utm_source=checkly-422f444a)
