# pw cluster nodes

> Source: https://parallelworks.com/docs/cli/pw/cluster/nodes

## pw cluster nodes

List a cluster's controller and compute nodes

```
pw cluster nodes <cluster> [flags]
```

### Examples

```
  # List the nodes of a cluster, including failed ones
  pw cluster nodes my-hpc
  
  # Only compute nodes
  pw cluster nodes --type compute my-hpc
  
  # Output as JSON
  pw cluster nodes -o json my-hpc
```

### Options

```
  -h, --help            help for nodes
  -o, --output string   Output format (table, json) (default "table")
      --type string     Only nodes of this type (controller, compute)
```

### 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. Overrides PW_PLATFORM_HOST environment variable and the current context's server.
  -v, --verbose                Enable verbose logging
```

### SEE ALSO

* [pw cluster](/docs/cli/pw/cluster)	 - Manage clusters
