What is LPM?

Last updated: September 17, 2025

Liquibase Package Manager (LPM) is a dependency management tool that enables users to install, update, and manage their Liquibase dependencies directly from the command line.

Starting with Liquibase Community 5.0, the open source distribution ships without extensions, drivers, and many other packages. This design provides a much lighter, modular, and customizable Liquibase experience for Community users. This flexibility both allows and requires users to actively manage their Liquibase dependencies based on their specific needs.

LPM is now integrated and available directly from within the CLI through the liquibase lpm command, the preferred method for managing dependencies. LPM is community-supported. LPM is not compatible with Liquibase Secure, which ships with in-the-box dependencies.

Available commands

LPM contains commands to help you install and update packages.

Core package management commands

Command

Definition

Notes

liquibase lpm

Checks for LPM. If LPM is not found, it will download it and run --help.

You can trigger this directly with: liquibase lpm --download=true

See Install LPM.

liquibase lpm list

Shows currently installed packages with versions and categories.

liquibase lpm search

Searches for available drivers, utilities, and extensions.

Supports category filtering: --category driver, --category extension, --category utility Supports keyword seraching: liquibase lpm search postgres, liquibase lpm search mysql

See Find Packages with LPM.

liquibase lpm add <package-name>

Adds and immediately installs a package, updates liquibase.json dependency file, and downloads and installs the package to liquibase_libs/ directory.

See Add Packages with LPM.

liquibase lpm install

Install all packages listed in the liquibase.json dependency file.

Useful for installing dependencies from an existing liquibase.json file.

liquibase lpm remove <package-name>

Uninstalls packages and updates the dependency file. Removes both the JAR file and the entry from liquibase.json.

See Remove Packages with LPM.

System management commands

Command

Definition

liquibase lpm update

Update the package manifest (packages.json) from a remote or local source.

liquibase lpm upgrade

Shows outdated packages and allows you to choose which to upgrade to the latest compatible versions.

Utility Commands

Command

Definition

liquibase lpm dedupe

Removes duplicate packages and dependencies.

liquibase lpm completion

Generates shell autocompletion scripts for bash, zsh, or fish.

liquibase lpm help

Shows command help and usage information.

Available Flags

Flag

Definition

--category string

Filter by category: extension, driver, or utility.

-h, --help

Display help for lpm.

-v, --version

Show version for lpm.

What is LPM? - Liquibase