# Sign in

## Sign in from the CLI

```sh
rilocode login
rilocode whoami
```

Confirm the code shown in the terminal on the approval page. Sign in to the dashboard with a Bangladesh mobile number and approve the device. If the page does not open, run `rilocode login --no-browser` and open the printed URL. Keep device codes and tokens private.

## Sign in on desktop

Open **Settings → Providers → RiloCode account** and select **Sign in**. Confirm the code in your browser. The account panel shows your current plan and allowances.

## Sign out

Run `rilocode logout` to revoke the current device token. Select **Sign out** in the same desktop account panel.
