You can obtain Dgraph binary for the latest version as well as previous releases using automatic install script, manual download, through Docker images or by building the binary from the open source code.
Pull the latest Dgraph image using docker:
docker pull dgraph/dgraph:latest
To set up a learning environment, you may pull the dgraph standalone image :
docker pull dgraph/standalone:latest
Verify that the image is downloaded:
On linux system, you can get the binary using the automatic script:
Download the Dgraph installation script to install Dgraph automatically:
curl https://get.dgraph.io -sSf | bash
Verify that it works fine, by running:
For more information about the various installation scripts that you can use, see install scripts.
On linux system, you can download a tar file and install manually.
Download the appropriate tar for your platform from Dgraph releases. After downloading the tar for your platform from Github, extract the binary to
/usr/local/bin like so.
- Download the installation file:
$ sudo tar -C /usr/local/bin -xzf dgraph-linux-amd64-VERSION.tar.gz
- Verify that it works fine, by running:
You can also build Dgraph and Ratel UI from the source code by following the instructions from Contributing to Dgraph or Building and running ratel.