Skip to main content

Getting and Building Databend From Source

note

Note that at least 16GB of RAM is required to build from source and run tests.

Install prerequisites

Databend is written in Rust, to build Databend from scratch you will need to install the following tools:

  • Git, cmake
  • Rust Install with rustup

Get the Databend code

git clone https://github.com/datafuselabs/databend
cd databend

Run make

make build-release

databend-query and databend-meta will be placed in the target/release directory.

Build With Docker Image

We provide a docker image with full development requirements, currently only on amd64.

Making sure docker is installed and running, just run INTERACTIVE=true scripts/setup/run_build_tool.sh to get into the build/test environment.