Initialize a new EdgeDB server instance.
edgedb server init [OPTIONS] name
edgedb server init
is a terminal command for making a new EdgeDB
instance and creating a corresponding credentials file in
$HOME/.edgedb/credentials
.
The new EdgeDB instance name.
Performs the installation in interactive mode, similar to how downloading and installing works.
Use the nightly server for this instance.
Overwrite data directory and credential file if any of these exist. This is mainly useful for recovering from interrupted initializations.
Specifies which EdgeDB server should be used to run the new
instance: package
or docker
. To list the currently
available options use edgedb server list-versions.
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.
Specifies the default database name (created during
initialization, and saved in credentials file). Defaults to
edgedb
.
Specifies the default user name (created during initialization,
and saved in credentials file). Defaults to: edgedb
.
Specifies which port should the instance be configured on. By default a random port will be used and recorded in the credentials file.
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 server start on demand. Defaults to:
auto
.