> ## Documentation Index
> Fetch the complete documentation index at: https://docs.fly.io/llms.txt
> Use this file to discover all available pages before exploring further.

# fly sprites console

Open an interactive shell in a sprite, in a new session with a
pseudo-terminal.

The shell matches your local one when the sprite has it (bash, zsh, fish, tcsh
or ksh), and is bash otherwise. Press Ctrl+\ to detach: the session keeps
running, and 'fly sprites attach' reconnects to it.

## Usage

```
fly sprites console [flags]
```

## Options

```
  -h, --help              help for console
      --no-port-forward   Do not forward ports opened by the console to localhost
  -o, --org string        The target Fly.io organization
  -s, --sprite string     The target sprite. Defaults to the one set with 'fly sprites use'
```

## Global Options

```
  -t, --access-token string   Fly.io API token to use, overriding FLY_ACCESS_TOKEN, FLY_API_TOKEN and the saved login
      --debug                 Print additional logs and traces
      --verbose               Verbose output
```

## See Also

* [fly sprites](https://docs.fly.io/flyctl/cmd/fly_sprites)	 - Manage Sprites: persistent Linux environments for development and agents
