# pw environments get

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

## pw environments get

Get details of an environment

### Synopsis

The **pw environments get** command shows an environment's configuration and
the parameters that can be set when scheduling a session onto it.

The environment can be given by name or by ID. The cluster can be given as
**pw://user/cluster** for a cluster owned by another user, or as **cluster**
for one of your own.

```
pw environments get <environment> [flags]
```

### Examples

```
  # Get an environment on one of your clusters
  pw environments get --cluster my-hpc gpu-large
  
  # Get an environment on another user's cluster
  pw environments get --cluster pw://Jake.Thayne/my-hpc gpu-large
  
  # Get as JSON
  pw environments get --cluster my-hpc -o json gpu-large
```

### Options

```
      --cluster string   Cluster the environment belongs to (required)
  -h, --help             help for get
  -o, --output string    Output format (table, json) (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 environments](/docs/cli/pw/environments)	 - Manage compute environments
