# 5050 whoami

> Print the user and console the CLI is logged in to.

Print the user and console the CLI is logged in to.

## Usage

```sh
5050 whoami
```

## Details

- Exits non-zero when you are not logged in, so scripts can check it.

## Railway equivalent

`railway whoami` works the same way through the [railway alias](https://5050cloud.com/docs/cli/railway-alias).

Every command also accepts the [global options](https://5050cloud.com/docs/cli/global-options).
