---
layout: "docs"
page_title: "Command: env"
sidebar_current: "docs-commands-envcmd"
description: |-
  The terraform env command is a deprecated, legacy form of "terraform workspace".
---

# Command: env

The `terraform env` command is deprecated.
[The `terraform workspace` command](/docs/cli/commands/workspace/index.html)
should be used instead.
