# pw sessions ls

> Source: https://parallelworks.com/docs/cli/pw/sessions/ls

## pw sessions ls

List all sessions

```
pw sessions ls [flags]
```

### Examples

```
  # List all sessions
  pw session ls
  
  # List all sessions, displayed as a table
  # Tables display URI, Status, Local Port, Remote Host, Remote Port, and Workflow Run
  pw sessions ls -o table
  
  # List only desktop sessions
  pw session ls --type desktop
```

### Options

```
  -h, --help            help for ls
  -o, --output string   Output format (json, table)
  -t, --type string     Filter by session type (desktop, vscode, tunnel)
```

### Options inherited from parent commands

```
      --context string         The context to use. Overrides PW_CONTEXT environment variable and current context from config.
      --platform-host string   The Parallel Works ACTIVATE platform host to use. Will override any other platform host settings.
  -v, --verbose                Enable verbose logging
```

### SEE ALSO

* [pw sessions](/docs/cli/pw/sessions)	 - Manage sessions
