Get started with QuestDB via Homebrew (macOS)

Each software release of QuestDB is distributed via the Homebrew package manager.

Install Homebrew#

Users who already have Homebrew installed may skip this section and proceed to Install QuestDB. Otherwise, Homebrew can be installed by running the official installation script via bash:

/bin/bash -c \
"$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"

Install QuestDB#

To install QuestDB via Homebrew, run the following command:

brew install questdb

On macOS, the root directory of QuestDB including server configuration files are located in the following directory:

/opt/homebrew/var/questdb
├── conf
├── db
├── log
└── public

Uninstall QuestDB#

To remove QuestDB, use Homebrew's uninstall command:

questdb uninstall

Troubleshooting Homebrew issues#

It's recommended to first run update before trying to install packages or diagnose errors:

brew update

Homebrew comes with a basic diagnostic command which can help find inconsistencies with system settings and permissions. This command will exit with a non-zero status if any potential problems are found:

brew doctor

Upgrade QuestDB version#

note

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

Once the latest QuestDB version is published on Homebrew, the command to upgrade QuestDB version is:

brew upgrade questdb

Next steps#

Once you installed the QuestDB with Homebrew, you can navigate to our command-line options page to learn more about its usage.