# pw cluster definition get

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

## pw cluster definition get

Print a cluster's definition

### Synopsis

The **pw cluster definition get** command prints the full provisioning
definition of a cluster: region, controller settings, partitions, disks,
scripts and scheduler settings. The output round-trips through
**pw cluster definition set** and **pw cluster create --definition**.

```
pw cluster definition get <cluster> [flags]
```

### Examples

```
  # Save a cluster's definition as JSON
  pw cluster definition get myhpc > myhpc.json
  
  # As YAML
  pw cluster definition get -o yaml myhpc > myhpc.yaml
```

### Options

```
  -h, --help            help for get
  -o, --output string   Output format (json, yaml) (default "json")
```

### 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 definition](/docs/cli/pw/cluster/definition)	 - Export and import a cluster's definition
