--- layout: "docs" page_title: "Command: env" sidebar_current: "docs-commands-envcmd" description: "`terraform env` 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.