Install Liquibase Community with Homebrew

Last updated: September 2, 2025

This workflow installs the open-source Liquibase Community edition, installs Liquibase as a cask in your homebrew-cask repository, and provides theliquibasecommand line tool. Note: As of Liquibase 5.0, Homebrew requires separate distributions for the Community and Secure editions. These are installed as Homebrew Casks, not formulas, because they are pre-compiled binary distributions.

Before you begin

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

Critical change: If you are an existing Liquibase Secure user, the brew install liquibase formula may still exist from versions before Liquibase 4.33, but the command will not install Liquibase 5.x +. To access the Liquibase Secure features, you must use brew install --cask liquibase-secure to maintain enterprise functionality when upgrading to 5.x.

Procedure

1

Install Homebrew

Install Homebrew if it is not already installed.

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 and you should troubleshoot the Homebrew installation.

2

Run brew install --cask liquibase-community

In your command line, run the following command:

brew install --cask liquibase-community

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.