# 使用 Homebrew, Nix, chocolatey 安装 kitchen-sync

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

## 安装

```sh
sudo av install brew:kitchen-sync
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install kitchen-sync
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#ks
```

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

### Windows

- Chocolatey (92%):

```sh
choco install KS
```

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

## 软件包事实

- **软件包键:** brew:kitchen-sync
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/kitchen-sync>
- **版本:** 2.21
- **来源摘要:** Fast efficiently sync database without dumping & reloading
- **主页:** <https://github.com/willbryant/kitchen_sync>
- **仓库:** <https://github.com/willbryant/kitchen_sync>
- **许可证:** MIT
- **源码归档:** <https://github.com/willbryant/kitchen_sync/archive/refs/tags/v2.21.tar.gz>
- **最后更新:** 2026-06-25T13:37:47+02:00
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- ks (cli)
- ks_mysql (cli)
- ks_postgresql (cli)
- ks (别名)
- ks_mysql (别名)
- ks_postgresql (别名)

## 依赖

- libpq
- mariadb-connector-c

## 构建依赖

- cmake

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 2.21
- 管理器更新时间: 2026-06-25
- 本地数据: OK
- 上游仓库: https://github.com/willbryant/kitchen_sync
- 检测到的最新版本: v2.21 (当前)
## 项目历史与用法

Kitchen Sync is a command-line database synchronization tool focused on making or updating a unidirectional database copy without dumping and reloading the entire source.

### 项目历史

The repository README frames Kitchen Sync around fast logical synchronization for developer, test, remote-office, and cross-database copy workflows. It supports MySQL-family databases and PostgreSQL, can work over SSH, can synchronize only changed data, and can filter sensitive columns as data is copied.

### 采用历史

Kitchen Sync has a modest but concrete package footprint, with the input facts listing Homebrew, Chocolatey, and Nix packaging. That distribution profile fits an operations-oriented CLI used by developers and database teams rather than a broad framework community.

### 使用方式

Users run `ks` with source and target database URLs, optional filters, and worker settings to update a target database. The README example shows cross-engine synchronization from MySQL to PostgreSQL with a filtering file.

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

Kitchen Sync is interesting as a small systems package because it addresses a dull but costly workflow: refreshing large database copies without the time, write amplification, and downtime of full dump-and-load cycles.

### 时间线

- 2020-03-14: GitHub release candidates 2.0rc1 through 2.0rc3 were published.
- 2023-10-29: GitHub release v2.19 was published.
- 2023-10-30: GitHub release v2.20 was published.
- 2025-04-15: GitHub release v2.21 was published.

### Related projects

- Kitchen Sync is related by use case to database dump/restore tooling, logical replication workflows, SSH tunneling, MySQL, MariaDB, Percona Server, and PostgreSQL.

### 来源

- <https://api.github.com/repos/willbryant/kitchen_sync/releases?per_page=100>
- <https://formulae.brew.sh/formula/kitchen-sync>
- <https://github.com/willbryant/kitchen_sync>
- <https://github.com/willbryant/kitchen_sync/releases>


## 安全说明

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

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

## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** kitchen-sync
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

## 其他软件包管理器记录

- Nix - ks: installed executable or alias match | nixpkgs package indexes: pkgs/by-name/ks/ks/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Chocolatey - KS: installed executable or alias match | Chocolatey community package catalog: KS from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','kindle'


## 相关链接

- [Source-control packages](https://pkg.so/zh-hans/source-control-tools/) - Belongs to a source-control command family.
- [Secret-risk packages](https://pkg.so/zh-hans/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/zh-hans/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [libpq](https://pkg.so/zh-hans/brew/libpq/) - Runtime dependency declared by Homebrew.
- [cmake](https://pkg.so/zh-hans/brew/cmake/) - Build dependency declared by Homebrew.
- [lazysql](https://pkg.so/zh-hans/brew/lazysql/) - Shares pkgdb curated category or tags: cli, data, database, mysql, postgresql.
- [mysql](https://pkg.so/zh-hans/brew/mysql/) - Shares pkgdb curated category or tags: cli, data, database, mysql.
- [postgresql@14](https://pkg.so/zh-hans/brew/postgresql-14/) - Shares pkgdb curated category or tags: cli, data, database, postgresql.
- [postgresql@16](https://pkg.so/zh-hans/brew/postgresql-16/) - Shares pkgdb curated category or tags: cli, data, database, postgresql.
- [postgresql@17](https://pkg.so/zh-hans/brew/postgresql-17/) - Shares pkgdb curated category or tags: cli, data, database, postgresql.
- [postgresql@18](https://pkg.so/zh-hans/brew/postgresql-18/) - Shares pkgdb curated category or tags: cli, data, database, postgresql.
- [postgresql@15](https://pkg.so/zh-hans/brew/postgresql-15/) - Shares pkgdb curated category or tags: cli, data, database, postgresql.
- [postgis](https://pkg.so/zh-hans/brew/postgis/) - Shares pkgdb curated category or tags: cli, data, database, postgresql.
- [dexter](https://pkg.so/zh-hans/brew/dexter/) - Local metadata places this package in an adjacent workflow. Shared terms: cli, data, database, libpq, postgresql.
- [mydumper](https://pkg.so/zh-hans/brew/mydumper/) - Local metadata places this package in an adjacent workflow. Shared terms: cli, connector, data, database, mariadb.

## Combined YAML source

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


## 来源

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
