---
layout: "docs"
page_title: "Command: env"
sidebar_current: "docs-commands-env"
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/commands/workspace/)
should be used instead.
