--- layout: "docs" page_title: "Command: env" sidebar_current: "docs-commands-envcmd" description: "The terraform env command is a deprecated form of the terraform workspace command." --- # Command: env The `terraform env` command is deprecated. [The `terraform workspace` command](/docs/cli/commands/workspace/index.html) should be used instead.