# Install garnet with Homebrew, Nix, scoop

High-performance cache-store. Version 2.1.1 via Homebrew; verified 2026-07-30. Also installable with nix: nix profile install nixpkgs#garnet.

## Install

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

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install garnet
```

  Evidence: local Homebrew formula metadata

### Linux

- Nix (92%):

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

  Evidence: 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
```

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

## Package facts

- **Package key:** brew:garnet
- **Package manager:** Homebrew
- **Version:** 2.1.1
- **Source summary:** High-performance cache-store
- **Homepage:** <https://microsoft.github.io/garnet/>
- **Repository:** <https://github.com/microsoft/garnet>
- **Last updated:** 2026-07-30T20:57:37Z
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- GarnetServer (alias)

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 2.1.1
## Project history and usage

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

### Project history

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.

### Adoption history

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.

### How it is used

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.

### Why package nerds care

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.

### Timeline

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

### Sources

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


## Security Notes

No matching local secret-handling manifest was found for garnet. Nucleus package metadata is still published here so future coverage has a stable package URL.


## Other Package-Manager Records

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


## Sources

- 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
