# 使用 Homebrew, apk, chocolatey, Nix, scoop, winget 安装 liquibase

查看 liquibase 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:liquibase
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install liquibase
```

  证据: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add liquibase
```

  证据: Alpine Linux edge package indexes: liquibase from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz

- Nix (92%):

```sh
nix profile install nixpkgs#liquibase
```

  证据: nixpkgs package indexes: pkgs/by-name/li/liquibase/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

### Windows

- Chocolatey (92%):

```sh
choco install liquibase
```

  证据: Chocolatey community package catalog: liquibase from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','lftp'

- Scoop (92%):

```sh
scoop install main/liquibase
```

  证据: Scoop official bucket manifest trees: bucket/liquibase.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

- winget (92%):

```sh
winget install --id Liquibase.Liquibase -e
```

  证据: Windows Package Manager source index: Liquibase.Liquibase from https://cdn.winget.microsoft.com/cache/source.msix

## 软件包事实

- **软件包键:** brew:liquibase
- **软件包管理器:** Homebrew
- **版本:** 4.33.0
- **来源摘要:** Library for database change tracking
- **主页:** <https://www.liquibase.org/>
- **仓库:** <https://github.com/liquibase/liquibase>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- liquibase (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 4.33.0
## 项目历史与用法

Liquibase is a database change management project and CLI that turns schema and data changes into versioned changelog files, records which changesets have run, and supports repeatable deployment and rollback workflows.

### 项目历史

Nathan Voxland founded the Liquibase open-source project in 2006 to make database changes easier to track. The project developed into a Java-based database migration ecosystem with command-line usage, embeddable libraries, build-tool integrations, and commercial governance products around the same core workflow.

The main source repository is the liquibase/liquibase GitHub project. The documentation site distinguishes Liquibase Community from Liquibase Secure, but both build around the same core concepts of changelogs, changesets, checksums, update operations, rollback operations, and database history tables.

### 采用历史

Liquibase adoption followed the rise of database DevOps: teams wanted schema changes reviewed, versioned, and deployed alongside application code instead of kept as ad hoc DBA scripts. Support for SQL, XML, YAML, and JSON changelogs made it usable across teams with different preferences.

Package managers carry Liquibase because developers and CI workers need a reproducible CLI. The Homebrew formula also records packaging details that differ from the cask path: it uses the liquibase formula name, depends on openjdk, and tells users to set LIQUIBASE_HOME to the formula libexec directory.

### 使用方式

A typical Liquibase project stores changelogs in the repository, points Liquibase at a target database and JDBC driver, then runs update or rollback commands. Liquibase records execution in DATABASECHANGELOG and uses checksums to notice changes to previously deployed changesets.

The Homebrew formula is the package-manager-oriented CLI path for brew install liquibase. In this batch it records stable version 4.33.0, while the cask:liquibase-community package records the vendor Community cask at version 5.0.3.

### 为什么软件包爱好者会关心

Liquibase is a classic developer-tool package because it lives in local shells, CI images, Docker workflows, and build systems but acts on external databases. Correct packaging has to balance Java runtime dependency, driver extensibility, config-file conventions, and command-line reproducibility.

The formula/cask split is package-nerd useful: the formula presents Liquibase as a Homebrew-managed CLI with an OpenJDK dependency and LIQUIBASE_HOME guidance, while the cask presents Liquibase Community as a vendor-distributed application archive.

### 时间线

- 2006: Nathan Voxland founded the Liquibase open-source project.
- 2010s: Liquibase expanded from a Java database migration library into a broader DevOps command-line and integration ecosystem.
- 2020: Liquibase company branding aligned with the project name and the product family around Community and commercial offerings.
- 2025: Liquibase documentation described Community changelogs in SQL, XML, YAML, and JSON and continued documenting DATABASECHANGELOG behavior.
- 2026: The Homebrew formula record for this batch identifies liquibase stable 4.33.0 with an OpenJDK dependency and LIQUIBASE_HOME guidance.

### Related projects

- Flyway is Liquibase's closest package-manager neighbor in database migration tooling.
- Related tooling includes JDBC drivers, Maven and Gradle plugins, Docker images, database diff tools, CI/CD systems, and commercial database DevOps products.

### 来源

- <https://docs.liquibase.com/>
- <https://docs.liquibase.com/community/user-guide-5-0-3/what-is-a-changelog>
- <https://docs.liquibase.com/secure/user-guide-5-2/what-is-the-databasechangelog-table>
- <https://formulae.brew.sh/cask/liquibase-community>
- <https://formulae.brew.sh/formula/liquibase>
- <https://github.com/liquibase/liquibase>
- <https://www.liquibase.com/company/leadership>


## 安全说明

broad file, network, media, or database tool signal.

- **Geiger 风险:** blue / 中
- broad file, network, media, or database tool signal


## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: ./liquibase.properties, $LIQUIBASE_HOME/examples/<sql|xml|yaml|json>/liquibase.properties

## Credential files

- Unix: ./liquibase.properties, path supplied with --driver-properties-file
## 其他软件包管理器记录

- Nix - liquibase: normalized package name match | nixpkgs package indexes: pkgs/by-name/li/liquibase/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - liquibase - 4.9.1-r0: normalized package name match | Alpine Linux edge package indexes: liquibase from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Source Control for your Database | https://www.liquibase.org/
- apk - liquibase-doc - 4.9.1-r0: normalized package name match | Alpine Linux edge package indexes: liquibase-doc from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Source Control for your Database (documentation) | https://www.liquibase.org/
- Chocolatey - liquibase: normalized package name match | Chocolatey community package catalog: liquibase from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','lftp'
- Scoop - main/liquibase: normalized package name match | Scoop official bucket manifest trees: bucket/liquibase.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
- winget - Liquibase.Liquibase: normalized package name match | Windows Package Manager source index: Liquibase.Liquibase from https://cdn.winget.microsoft.com/cache/source.msix


## 相关链接

- [liquibase](https://pkg.so/zh-hans/pkg/npm/liquibase/) - Same normalized package name exists in another local package ecosystem.

## Combined YAML source

View the package source record on GitHub. [combined/liquibase.yml](https://github.com/mxcl/pkgdb/blob/main/combined/liquibase.yml)


## 来源

- pkg.so package database
- Geiger risk classifier
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
