# 使用 Homebrew, apk, MacPorts, pacman, zypper 安装 garage

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

## 安装

```sh
sudo av install brew:garage
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install garage
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install garage
```

  证据: MacPorts ports tree: net/garage/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add garage
```

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

- pacman (92%):

```sh
sudo pacman -S garage
```

  证据: Arch Linux sync databases: garage from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install garage
```

  证据: openSUSE Tumbleweed package metadata: garage from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

## 软件包事实

- **软件包键:** brew:garage
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/garage>
- **版本:** 2.3.0
- **来源摘要:** S3 object store so reliable you can run it outside datacenters
- **主页:** <https://garagehq.deuxfleurs.fr/>
- **仓库:** <https://git.deuxfleurs.fr/Deuxfleurs/garage>
- **上游文档:** <https://garagehq.deuxfleurs.fr/documentation>
- **许可证:** AGPL-3.0-or-later
- **源码归档:** <https://git.deuxfleurs.fr/Deuxfleurs/garage/archive/v2.3.0.tar.gz>
- **最后更新:** 2026-04-16T21:50:26Z
- **已生成:** 2026-07-08T07:18:31+00:00

## 可执行文件

- garage (cli)
- garage (别名)

## 构建依赖

- rust

## 安装行为

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

## 版本和新鲜度

- 页面生成时间: 2026-07-08
- 管理器版本: 2.3.0
- 管理器更新时间: 2026-04-16
- 本地数据: OK
- 上游仓库: https://garagehq.deuxfleurs.fr/
- 信息: Release/tag comparison is only available for GitHub repositories.
## 项目历史与用法

Garage is a self-hosted, S3-compatible distributed object store from Deuxfleurs, aimed at small-to-medium deployments that span multiple physical locations.

### 项目历史

The project was created in 2020 by Deuxfleurs, an experimental small-scale self-hosted service provider. Its README describes Garage as the storage service Deuxfleurs has used in production since the first release in 2020.

Garage's design centers on lightweight operation, resilience to machine failures, and replication across locations rather than compatibility with filesystem or POSIX semantics.

### 采用历史

Official documentation presents Deuxfleurs itself as an early production user and invites other organizations to add public use cases. Package-manager availability across Homebrew and several Linux distributions reflects its role as an installable service daemon rather than only a source-built research project.

### 使用方式

Users deploy Garage nodes with a TOML configuration file, join them into a cluster, and access storage through S3-compatible clients. The project documents common operations such as binary packages, systemd service setup, gateway nodes, reverse proxying, monitoring, and upgrades.

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

Garage matters to package and self-hosting communities because it gives S3-compatible object storage a small-operator shape: a single CLI/server package, plain configuration, documented packages, and a design explicitly tuned for machines outside conventional datacenters.

### 时间线

- 2020: Garage project created and first used by Deuxfleurs in production.
- 2021: 0.3.0 release published on the official Deuxfleurs forge.
- 2022: 0.7.0 release published as Garage moved through early public releases.

### Related projects

- Garage is related to Amazon S3 through protocol compatibility, and to Deuxfleurs infrastructure projects such as Bagage, which the official use-case documentation describes as a WebDAV-to-S3 and SFTP-to-S3 proxy.

### 来源

- <https://garagehq.deuxfleurs.fr/documentation/design/goals/>
- <https://garagehq.deuxfleurs.fr/documentation/reference-manual/configuration/>
- <https://git.deuxfleurs.fr/Deuxfleurs/garage>
- <https://git.deuxfleurs.fr/api/v1/repos/Deuxfleurs/garage>
- <https://git.deuxfleurs.fr/api/v1/repos/Deuxfleurs/garage/releases?limit=100>


## 安全说明

formula declares a Homebrew service.

- **Geiger 风险:** orange / 中
- formula declares a Homebrew service


## 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: /etc/garage.toml, $GARAGE_CONFIG_FILE
## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** garage
- **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

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

- apk - garage - 2.3.0-r0: normalized package name match | Alpine Linux edge package indexes: garage from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Lightweight S3-compatible distributed object store | https://garagehq.deuxfleurs.fr
- apk - garage-openrc - 2.3.0-r0: normalized package name match | Alpine Linux edge package indexes: garage-openrc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Lightweight S3-compatible distributed object store (OpenRC init scripts) | https://garagehq.deuxfleurs.fr
- pacman - garage - 2.3.0-1: normalized package name match | Arch Linux sync databases: garage from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | A S3-compatible distributed object storage service tailored for self-hosting | https://garagehq.deuxfleurs.fr/
- zypper - garage - 2.3.0-1.2: normalized package name match | openSUSE Tumbleweed package metadata: garage from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | S3-compatible object store for small self-hosted geo-distributed deployments | https://git.deuxfleurs.fr/Deuxfleurs/garage
- MacPorts - garage: normalized package name match | MacPorts ports tree: net/garage/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## 相关链接

- [Cloud CLI packages](https://www.automicvault.com/zh-hans/pkg/cloud-clis/) - Belongs to a cloud or infrastructure command family.
- [Secret-risk packages](https://www.automicvault.com/zh-hans/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://www.automicvault.com/zh-hans/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/zh-hans/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [rust](https://www.automicvault.com/zh-hans/pkg/brew/rust/) - Build dependency declared by Homebrew.
- [versitygw](https://www.automicvault.com/zh-hans/pkg/brew/versitygw/) - Shares av.db curated category or tags: cli, cloud-infrastructure, object-storage, s3, storage.
- [storj-uplink](https://www.automicvault.com/zh-hans/pkg/brew/storj-uplink/) - Shares av.db curated category or tags: cli, cloud-infrastructure, object-storage, storage.
- [juicefs](https://www.automicvault.com/zh-hans/pkg/brew/juicefs/) - Shares av.db curated category or tags: cli, cloud-infrastructure, distributed-storage, s3, storage.
- [s3fs](https://www.automicvault.com/zh-hans/pkg/brew/s3fs/) - Shares av.db curated category or tags: cli, cloud-infrastructure, object-storage, s3, storage.
- [filen-cli](https://www.automicvault.com/zh-hans/pkg/brew/filen-cli/) - Shares av.db curated category or tags: cli, cloud-infrastructure, s3, storage.
- [gcsfuse](https://www.automicvault.com/zh-hans/pkg/brew/gcsfuse/) - Shares av.db curated category or tags: cli, cloud-infrastructure, object-storage, storage.
- [minio](https://www.automicvault.com/zh-hans/pkg/brew/minio/) - Shares av.db curated category or tags: cli, cloud-infrastructure, object-storage.
- [s3-backer](https://www.automicvault.com/zh-hans/pkg/brew/s3-backer/) - Shares av.db curated category or tags: cli, cloud-infrastructure, s3, storage.

## Combined YAML source

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


## 来源

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
