1. Docs
  2. Pulumi ESC CLI
  3. Commands
  4. esc env init

esc env init

    Create an empty environment with the given name.

    Synopsis

    Create an empty environment with the given name, ready for editing

    This command creates an empty environment with the given name. It has no definition, but afterwards it can be edited using the edit command.

    To create an environment in an organization when logged in to the Pulumi Cloud, prefix the stack name with the organization name and a slash (e.g. ‘acmecorp/dev’).

    esc env init [<org-name>/]<environment-name> [flags]
    

    Options

      -f, --file -   the file to use to initialize the environment, if any. Pass - to read from standard input.
      -h, --help     help for init
    

    Options inherited from parent commands

          --env string   The name of the environment to operate on.
    

    SEE ALSO

    Auto generated by spf13/cobra on 14-Mar-2024
      Pulumi AI - What cloud infrastructure would you like to build? Generate Program