# pw environments

> Source: https://parallelworks.com/docs/cli/pw/environments

## pw environments

Manage compute environments

### Synopsis

The **pw environments** command group has commands for managing the compute
environments on a cluster. An environment describes a scheduler partition
that sessions can be scheduled onto, along with the parameters users may set
when scheduling.

Environments the cluster detects for itself have a source of
**auto-detected** and cannot be deleted. Environments you create have a
source of **custom**.

Every command takes the cluster with **--cluster**, given as
**pw://user/cluster** for a cluster owned by another user or as **cluster** for
one of your own. Environment names are unique only within their cluster, so
they are named by name or ID alongside **--cluster** rather than by URI.

```
pw environments [flags]
```

### Options

```
  -h, --help   help for environments
```

### 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](/docs/cli/pw)	 - The Parallel Works ACTIVATE CLI
* [pw environments create](/docs/cli/pw/environments/create)	 - Create a custom environment on a cluster
* [pw environments delete](/docs/cli/pw/environments/delete)	 - Delete a custom environment
* [pw environments get](/docs/cli/pw/environments/get)	 - Get details of an environment
* [pw environments ls](/docs/cli/pw/environments/ls)	 - List compute environments
* [pw environments update](/docs/cli/pw/environments/update)	 - Update an environment
