Get started with QuestDB from the binaries

This page describes how to download and run QuestDB via binaries. QuestDB comes with a script on Linux or FreeBSD, and a questdb.exe executable on Windows. For macOS, check out Homebrew.


Java 11#

You need to have Java 11 installed locally. To check your installed version:

java -version

If you do not have Java installed, install one of the following supported packages for your operating system:

  • AdoptOpenJDK
  • Amazon Corretto
  • OpenJDK
  • Oracle Java

Other Java distributions might work but are not tested.


The environment variable JAVA_HOME needs to point to your Java 11 installation folder.

Download the binaries#

The Java runtime is packaged directly with QuestDB and you do not need anything else.

Extract the tarballs#

tar -xvf questdb-7.0.1-no-jre-bin.tar.gz

Run QuestDB#

./ start

Upgrade QuestDB version#


Check the release notes and ensure that necessary backup is completed.

To upgrade the QuestDB version: stop the instance, overwrite the binaries folder with new binaries, and then restart the instance:

./ stop
(Overwrite the binaries folder with new binaries)
./ start

Next steps#

Once you extracted the tarball, you are ready to use QuestDB. Navigate to our command-line options page to learn more about its usage.