# pw context list

> Source: https://parallelworks.com/docs/cli/pw/context/list

## pw context list

List all available contexts

### Synopsis

The **pw context list** command displays all available contexts.

The current context is marked with an asterisk (*).

```
pw context list [flags]
```

### Examples

```
  # List all contexts (simple list)
  pw context list
  
  # List all contexts as a table
  pw context list -o table
  
  # List all contexts as JSON
  pw context list -o json
  
  # Using alias
  pw ctx list
```

### Options

```
  -h, --help                   help for list
  -o, --output OUTPUT_FORMAT   Output format. One of: list, json, table (default table)
```

### 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 context](/docs/cli/pw/context)	 - Manage CLI contexts
