Install Liquibase with Homebrew

Last updated: September 2, 2025

Before you begin

Confirm that Java is installed. If you use the Liquibase Installer, Java is included automatically.

Procedure

1

Install Homebrew

Install Homebrew if you need to.

To check whether it's already installed, run the following command in your terminal:

brew --version

If Homebrew is installed, the version number will be returned. If not, you'll see a message indicating the command was not found.

2

Run brew install liquibase-secure.

In your command line, run the following command:

brew install liquibase-secure

Note: If Homebrew is not in your path, you'll need to update your shell's configuration file to include it, which will also cause Liquibase to be included. If needed, you can follow the post-installation steps provided by Homebrew to set this up.

3

Apply your Liquibase Secure license key.

Using a Secrets Management tool like Hashicorp Vault or AWS Secrets Manager is best to keep Liquibase license keys secure.

There are several ways to apply the Liquibase Secure license key:

Include the Liquibase Secure license key in the Liquibase properties file and save it.

For example:

liquibase.licenseKey: aei76ou32thp785463214