# 使用 Homebrew, Nix, scoop 安装 garnet

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

## 安装

```sh
sudo av install brew:garnet
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install garnet
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#garnet
```

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

### Windows

- Scoop (92%):

```sh
scoop install main/garnet
```

  证据: Scoop official bucket manifest trees: bucket/garnet.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

## 软件包事实

- **软件包键:** brew:garnet
- **软件包管理器:** Homebrew
- **版本:** 2.1.1
- **来源摘要:** High-performance cache-store
- **主页:** <https://microsoft.github.io/garnet/>
- **仓库:** <https://github.com/microsoft/garnet>
- **最后更新:** 2026-07-30T20:57:37Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- GarnetServer (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

Garnet is a Microsoft Research remote cache-store that speaks the Redis RESP protocol while using a .NET and Tsavorite-based architecture.

### 项目历史

The public GitHub repository was created in August 2023, and v1.0.0 was released in March 2024. Microsoft describes Garnet as a new cache-store focused on throughput, latency, scalability, storage, recovery, cluster sharding, key migration, and replication.

The project builds on Microsoft research in storage and systems, with the README naming Tsavorite as Garnet's storage layer and noting a Garnet paper planned for PVLDB 2026.

### 采用历史

Garnet's adoption path is deliberately Redis-compatible: it starts from the RESP wire protocol so existing Redis clients can talk to it. The README also points to a managed Azure Cosmos DB Garnet Cache offering, moving the project from open-source package to managed service surface.

### 使用方式

Users run GarnetServer and connect with Redis-compatible clients on the usual cache-server model. The docs cover building with .NET, deploying the server, connecting RESP clients, configuration options, TLS, cluster mode, command support, and benchmarking.

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

Garnet is significant for package and infrastructure users because it is a Redis-protocol server distributed as source, NuGet packages, a .NET tool, Homebrew, Nix, and Scoop packages. It is also a rare Microsoft Research database system designed to be both benchmark-visible and drop-in-client-friendly.

### 时间线

- 2023: Public GitHub repository created.
- 2024: v1.0.0 released.
- 2026: Preview 2.0.1 beta releases published and the Garnet paper scheduled for PVLDB 2026.

### Related projects

- Garnet is related to Redis through RESP compatibility, StackExchange.Redis as a supported client example, Tsavorite as its storage engine, DiskANN for vector-search previews, and Azure Cosmos DB Garnet Cache as a managed offering.

### 来源

- <https://api.github.com/repos/microsoft/garnet>
- <https://api.github.com/repos/microsoft/garnet/releases?per_page=100>
- <https://github.com/microsoft/garnet>
- <https://microsoft.github.io/garnet/docs/getting-started>
- <https://raw.githubusercontent.com/microsoft/garnet/main/README.md>


## 安全说明

没有找到 garnet 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。


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

- Nix - garnet: normalized package name match | nixpkgs package indexes: pkgs/by-name/ga/garnet/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Scoop - main/garnet: normalized package name match | Scoop official bucket manifest trees: bucket/garnet.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1


## Combined YAML source

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


## 来源

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