Upgrade Liquibase with Homebrew

Last updated: November 12, 2025 This workflow installs Liquibase Secure, installs Liquibase as a cask in your homebrew-cask repository, and provides theliquibasecommand line tool.

Critical change for Liquibase Secure 5.0 + users: If you are an existing Liquibase Secure user, thebrew install liquibaseformula 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. Please refer to the table below to understand what command you should use as a Secure user. 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.

Edition

Command

Notes

Liquibase Community

brew install liquibase

Installs OSS version only

Liquibase Secure

brew install --cask liquibase-secure

Installs enterprise version (Liquibase Secure 5.0+)

Before you begin

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

Procedure

As an existing Liquibase user who already has Homebrew installed, follow these steps to upgrade Liquibase to a new version.

1

Uninstall liquibase

First, uninstall the current version of liquibase by running this command in the CLI: brew uninstall liquibase

2

Install the Liquibase Secure cask.

Run this command in the CLI: brew install --cask liquibase-secure

3

Verify you have the correct edition.

Verify you have the Secure edition by running liquibase --version in the CLI.

Results

In your CLI output, Liquibase Secure 5.x.x will display.