edgedb instance create

Initialize a new EdgeDB instance.

  1. edgedb instance create [options] name

Description

edgedb instance create is a terminal command for making a new EdgeDB instance and creating a corresponding credentials file in <edgedb_config_dir>/credentials. Run edgedb info to see the path to <edgedb_config_dir> on your machine.

Options

name

The new EdgeDB instance name.

--nightly

Use the nightly server for this instance.

--default-database=default-database

Specifies the default database name (created during initialization, and saved in credentials file). Defaults to edgedb.

--default-user=default-user

Specifies the default user name (created during initialization, and saved in credentials file). Defaults to: edgedb.

--port=port

Specifies which port should the instance be configured on. By default a random port will be used and recorded in the credentials file.

--start-conf=start-conf

Configures how the new instance should start: auto for automatic start with the system or user session, manual to turn that off so that the instance can be manually started with edgedb instance start on demand. Defaults to: auto.

--version=version

Specifies the version of the EdgeDB server to be used to run the new instance. To list the currently available options use edgedb server list-versions.