# 使用 Homebrew 安装 stolon

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

## 安装

```sh
sudo av install brew:stolon
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install stolon
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:stolon
- **软件包管理器:** Homebrew
- **版本:** 0.17.0
- **来源摘要:** Cloud native PostgreSQL manager for high availability
- **主页:** <https://talk.stolon.io>
- **仓库:** <https://github.com/sorintlab/stolon>
- **最后更新:** 2026-07-26T04:03:46+02:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- stolon-keeper (别名)
- stolon-proxy (别名)
- stolon-sentinel (别名)
- stolonctl (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

stolon is a cloud-native PostgreSQL high-availability manager. It is packaged as a set of operational CLIs and daemons for people who want PostgreSQL streaming replication, failover control, and service routing in container or cloud environments.

### 项目历史

The official README describes stolon as a PostgreSQL manager for high availability across Kubernetes, cloud IaaS, and older infrastructure. Simone Gotti's introduction, linked from the README, says the project was created after earlier HA approaches such as heartbeat, Pacemaker-style clusters, and shared storage proved awkward for cloud and container environments.

### 采用历史

The project was framed from the start around cloud and container operations, using etcd, Consul, or the Kubernetes API as the cluster store. The README says the Homebrew formula exists but is unofficial and unsupported by the project, which is useful package-manager context: it is installable through Brew, but upstream still expects operators to check version and support status.

### 使用方式

stolon is composed of keeper, sentinel, proxy, and the `stolonctl` administrative client. Operators use those pieces to run PostgreSQL instances, monitor cluster state, calculate the desired cluster view, and route client connections to the current master.

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

stolon is interesting to package nerds because it packages a distributed PostgreSQL control plane into ordinary binaries. It sits at the intersection of database administration, Kubernetes-era service discovery, and classic Unix daemon packaging.

### 时间线

- 2016: Simone Gotti publishes the linked introduction to stolon and its cloud-native PostgreSQL HA goals.
- 2016: README-era documentation presents keeper, sentinel, proxy, and `stolonctl` as the core components.
- Current: Upstream README lists Homebrew availability while warning that the formula is unofficial and unsupported by the project.

### Related projects

- The project documentation names PostgreSQL streaming replication as its base and uses etcd, Consul, or Kubernetes as a highly available cluster store. The introduction also compares the problem space with repmgr and governor.

### 来源

- <https://github.com/sorintlab/stolon#readme>
- <https://github.com/sorintlab/stolon/tree/master/doc>
- <https://raw.githubusercontent.com/sorintlab/stolon/master/doc/architecture.md>
- <https://sgotti.dev/post/stolon-introduction/>


## 安全说明

broad file, network, media, or database tool signal. infrastructure mutation or orchestration signal.

- **Geiger 风险:** orange / 中
- broad file, network, media, or database tool signal
- infrastructure mutation or orchestration signal


## Combined YAML source

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


## 来源

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- cross-ecosystem install command graph
