1--- 2layout: "docs" 3page_title: "Command: env" 4sidebar_current: "docs-commands-envcmd" 5description: "The terraform env command is a deprecated form of the terraform workspace command." 6--- 7 8# Command: env 9 10The `terraform env` command is deprecated. 11[The `terraform workspace` command](/docs/cli/commands/workspace/index.html) 12should be used instead. 13