---
title: Console and terminal
description: Open the AWS console or a terminal with a session ready.
---

## Console

**Open console** builds a federated sign-in URL from the active session's credentials and opens it in your browser. The console session lasts as long as the credentials.

```sh
rolle console "Acme Prod/AdministratorAccess"
rolle console "Acme Prod/AdministratorAccess" --print   # print the URL instead
```

## Terminal

**Open terminal** opens a terminal window with the session's environment exported. The terminal is **Settings → General → Terminal**, or the first one found:

| Platform | Order |
| --- | --- |
| macOS | The app in `$TERM_PROGRAM`, then cmux, Ghostty, iTerm, Warp, then Terminal |
| Linux | `$TERMINAL`, then x-terminal-emulator, gnome-terminal, konsole, xfce4-terminal, alacritty, kitty, xterm |
| Windows | Windows Terminal, then PowerShell |

```sh
rolle shell "Acme Prod/AdministratorAccess"
```

## Shell exports

`rolle env` prints the credentials as exports for the current shell.

```sh
eval "$(rolle env "Acme Prod/AdministratorAccess")"
rolle env personal --powershell | Invoke-Expression
```
