# pw cluster definition

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

## pw cluster definition

Export and import a cluster's definition

```
pw cluster definition [flags]
```

### Options

```
  -h, --help   help for definition
```

### 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
* [pw cluster definition get](/docs/cli/pw/cluster/definition/get)	 - Print a cluster's definition
* [pw cluster definition set](/docs/cli/pw/cluster/definition/set)	 - Replace a cluster's definition from a file
