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.

Linux, macOS
Windows
$
curl --proto '=https' --tlsv1.2 -sSf https://sh.edgedb.com | sh
Copy
  • The script, inspired by rustup, will detect the OS and download the appropriate build of the EdgeDB CLI tool, edgedb.
  • The edgedb command is a single executable (it's open source!)
  • Once installed, the edgedb command can be used to install, uninstall, upgrade, and interact with EdgeDB server instances.
  • You can uninstall EdgeDB server or remove the edgedb command at any time.

Linux - Debian/Ubuntu LTS

Step 1. Import the EdgeDB packaging key:

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

Step 2. Add the EdgeDB package repository:

Copy
echo deb https://packages.edgedb.com/apt $(lsb_release -cs) main \
    | sudo tee /etc/apt/sources.list.d/edgedb.list

Step 3. Install the EdgeDB package:

Copy
sudo apt-get update && sudo apt-get install edgedb-1-rc1

Step 4. Follow the quickstart.

Linux - CentOS/RHEL 7/8

Step 1. Add the EdgeDB package repository:

Copy
sudo tee <<'EOF' /etc/yum.repos.d/edgedb.repo
[edgedb]
name=edgedb
baseurl=https://packages.edgedb.com/rpm/el$releasever/
enabled=1
gpgcheck=1
gpgkey=https://packages.edgedb.com/keys/edgedb.asc
EOF

Step 2. Install the EdgeDB package:

Copy
sudo yum install edgedb-1-rc1

Step 3. Follow the quickstart.

macOS - Homebrew

Step 1. Add the EdgeDB tap to your Homebrew:

Copy
brew tap edgedb/tap

Step 2. Install EdgeDB CLI:

Copy
brew install edgedb-cli

Step 3. Follow the quickstart.

Try our online interactive tutorial without installing EdgeDB on your computer.Start the tutorial