---
title: esc env rm | CLI commands
url: /docs/esc/cli/commands/esc_env_rm/
---

Remove an environment or a value from an environment.

## Synopsis

Remove an environment or a value from an environment

This command removes an environment or a value from an environment.
When removing an environment, the environment will no longer be available
once this command completes.

```
esc env rm [<org-name>/][/]<environment-name> [path] [flags]
```

## Options

```
  -h, --help   help for rm
  -y, --yes    Skip confirmation prompts, and proceed with removal anyway
```

## Options inherited from parent commands

```
      --env string   The name of the environment to operate on.
```

## SEE ALSO

* [esc env](/docs/esc/cli/commands/esc_env/)	 - Manage environments


