--- page_title: 'Command: env' 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](/cli/commands/workspace) should be used instead.