# Install stolon with Homebrew

Cloud native PostgreSQL manager for high availability. Version 0.17.0 via Homebrew; verified 2026-06-15.

## Install

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

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install stolon
```

  Evidence: local Homebrew formula metadata

## Package facts

- **Package key:** brew:stolon
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/stolon>
- **Version:** 0.17.0
- **Source summary:** Cloud native PostgreSQL manager for high availability
- **Homepage:** <https://talk.stolon.io>
- **Repository:** <https://github.com/sorintlab/stolon>
- **Upstream docs:** <https://github.com/sorintlab/stolon#readme>
- **License:** Apache-2.0
- **Source archive:** <https://github.com/sorintlab/stolon/archive/refs/tags/v0.17.0.tar.gz>
- **Last updated:** 2026-06-15T10:21:21-04:00
- **Generated:** 2026-07-08T18:08:21+00:00

## Executables

- stolon-keeper (cli)
- stolon-proxy (cli)
- stolon-sentinel (cli)
- stolonctl (cli)
- stolon-keeper (alias)
- stolon-proxy (alias)
- stolon-sentinel (alias)
- stolonctl (alias)

## Dependencies

- libpq

## Build dependencies

- go

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 0.17.0
- Package-manager updated: 2026-06-15
- Local data: ok
- Upstream repository: https://github.com/sorintlab/stolon
- Upstream latest detected: v0.17.0 (current)
## Project history and usage

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.

### Project history

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.

### Adoption history

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.

### How it is used

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.

### Why package nerds care

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.

### Timeline

- 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.

### Sources

- <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/>


## Security Notes

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

- **Geiger risk:** orange / medium
- broad file, network, media, or database tool signal
- infrastructure mutation or orchestration signal

## Source Database Details

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


## Related links

- [Cloud CLI packages](https://www.automicvault.com/pkg/cloud-clis/) - Belongs to a cloud or infrastructure command family.
- [Secret-risk packages](https://www.automicvault.com/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [libpq](https://www.automicvault.com/pkg/brew/libpq/) - Runtime dependency declared by Homebrew.
- [go](https://www.automicvault.com/pkg/brew/go/) - Build dependency declared by Homebrew.
- [pgstream](https://www.automicvault.com/pkg/brew/pgstream/) - Shares av.db curated category or tags: cli, data, databases, postgresql, replication.
- [check_postgres](https://www.automicvault.com/pkg/brew/check-postgres/) - Shares av.db curated category or tags: cli, data, databases, postgresql.
- [ephemeralpg](https://www.automicvault.com/pkg/brew/ephemeralpg/) - Shares av.db curated category or tags: cli, data, databases, postgresql.
- [pgslice](https://www.automicvault.com/pkg/brew/pgslice/) - Shares av.db curated category or tags: cli, data, databases, postgresql.
- [pgsync](https://www.automicvault.com/pkg/brew/pgsync/) - Shares av.db curated category or tags: cli, data, databases, postgresql.
- [pgtoolkit](https://www.automicvault.com/pkg/brew/pgtoolkit/) - Shares av.db curated category or tags: cli, data, databases, postgresql.
- [pgweb](https://www.automicvault.com/pkg/brew/pgweb/) - Shares av.db curated category or tags: cli, data, databases, postgresql.
- [pgxnclient](https://www.automicvault.com/pkg/brew/pgxnclient/) - Shares av.db curated category or tags: cli, data, databases, postgresql.

## Combined YAML source

View the package source record on GitHub. [combined/stolon.yml](https://github.com/automic-vault/db/blob/main/combined/stolon.yml)


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- cross-ecosystem install command graph
