# 使用 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/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

## 软件包事实

- **软件包键:** brew:garage
- **软件包管理器:** Homebrew
- **版本:** 2.3.0
- **来源摘要:** S3 object store so reliable you can run it outside datacenters
- **主页:** <https://garagehq.deuxfleurs.fr/>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- garage (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

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
## 其他软件包管理器记录

- 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.4: normalized package name match | openSUSE Tumbleweed package metadata: garage from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-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


## Combined YAML source

View the package source record on GitHub. [combined/garage.yml](https://github.com/mxcl/pkgdb/blob/main/combined/garage.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
