Current Version
Alpha 6
Next Stop
Beta 1

Install

The easiest and preferred way to install and set up the EdgeDB server is using our command-line tool.

Run the following in your terminal and follow the on-screen instructions.

curl --proto '=https' --tlsv1.2 -sSf https://sh.edgedb.com | sh
(See the source of the script: sh.edgedb.com | GitHub.)

+ Other Installation Options

Linux
macOS
Other
Ubuntu 18.04

Step 1. Import the EdgeDB packaging key:

curl https://packages.edgedb.com/keys/edgedb.asc \
    | sudo apt-key add -

Step 2. Add the EdgeDB package repository:

echo deb https://packages.edgedb.com/apt bionic main \
    | sudo tee /etc/apt/sources.list.d/edgedb.list

Step 3. Install the EdgeDB package:

sudo apt-get update && sudo apt-get install edgedb-1-alpha6

Step 4. Create and EdgeDB instance:

edgedb server init

Step 5. Follow the tutorial.

Homebrew

Step 1. Add the EdgeDB tap to your Homebrew:

brew tap edgedb/tap

Step 2. Install EdgeDB CLI:

brew install edgedb-cli

Step 3. Install EdgeDB server:

edgedb server install

Step 4. Create and EdgeDB instance:

edgedb server init

Step 4. Follow the tutorial.

Step 1. Install latest stable Rust compiler:

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

Step 2. Clone and build the EdgeDB CLI from source:

git clone https://github.com/edgedb/edgedb-cli/
cd edgedb-cli
cargo build --release
# copy target/release/edgedb to a folder in PATH

Step 3. Fetch and run EdgeDB server container (replace <datadir> with the directory you want to persist the data in):

docker run -it --rm -p 5656:5656 -p 8888:8888 \
    --name=edgedb-server \
    -v <datadir>:/var/lib/edgedb/data \
    edgedb/edgedb

Step 4. Follow the tutorial.