Setup a new project.

edgedb project init [OPTIONS]

This command sets up a new project, creating an instance and a schema directory for it. It can also be used to convert an existing directory to a project directory, connecting the existing instance to the project. Typically this tool will prompt for specific details about how the project should be setup.

--project-dir=project-dir

The project directory can be specified explicitly. Defaults to the current directory.

--server-install-method=server-install-method

Specifies which server should be used for this project: server installed via the local package system (package) or as a docker image (docker).

--server-instance=server-instance

Specifies the EdgeDB server instance to be associated with the project.

--server-version=server-version

Specifies the EdgeDB server instance to be associated with the project.

Light
Dark
System