# nutcracker を Homebrew, apt でインストール

nutcracker のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install brew:nutcracker
```

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install nutcracker
```

  証拠: local Homebrew formula metadata

### Linux

- Debian apt (92%):

```sh
sudo apt install nutcracker
```

  証拠: Debian stable package indexes: nutcracker from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

## パッケージ情報

- **パッケージキー:** brew:nutcracker
- **パッケージマネージャ:** Homebrew
- **バージョン:** 0.5.0
- **ソース概要:** Proxy for memcached and redis
- **ホームページ:** <https://github.com/twitter/twemproxy>
- **リポジトリ:** <https://github.com/twitter/twemproxy>
- **最終更新:** 2026-06-19T12:32:40-07:00
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- nutcracker (エイリアス)
- test_all (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 0.5.0
## プロジェクトの歴史と使われ方

Nutcracker is the Homebrew formula name for Twitter's twemproxy, a small C proxy for memcached and Redis protocols. Twitter's README describes it as built to reduce backend cache-server connection counts, with pipelining and sharding used to scale distributed cache architectures.

### プロジェクトの歴史

The public changelog records a twemproxy 0.1.16 release on 2012-02-09, when the project was described as a fast, lightweight proxy for the memcached protocol. Redis support was visible to the Redis community by late 2012, when Salvatore Sanfilippo wrote about Twitter's proxy as a practical sharding layer before Redis Cluster was available.

### 採用の歴史

twemproxy's package-nerd role was strongest in the early Redis and memcached scaling era: it let teams keep client libraries simple while putting consistent hashing, server pools, node ejection, and low backend connection counts in a separate process. Its Homebrew formula still exists as `nutcracker`/`twemproxy`, but Homebrew analytics on 2026-07-01 showed only 25 installs over 365 days, so the package-manager footprint is now mostly maintenance and legacy operations rather than new mainstream adoption.

### 使われ方

Operators run the `nutcracker` daemon with a YAML configuration that defines one or more pools, listen addresses, hash/distribution choices, Redis mode, timeouts, and backend servers. Common production patterns are to run multiple proxy instances for availability and to decide explicitly whether failed backend ejection is acceptable for cache use or whether a fixed key-to-server map is required.

### パッケージ好きにとっての重要性

Nutcracker matters historically because it captures a pre-native-cluster moment in Redis/memcached operations: sharding was often pushed into clients or a lightweight proxy, and Homebrew/Debian/Ubuntu packaging made the proxy easy to install for local testing and operations scripts.

### タイムライン

- 2012-02-09: twemproxy 0.1.16 appears in the project changelog as a lightweight memcached proxy release.
- 2012-12-18: Redis creator Salvatore Sanfilippo publishes a detailed note on twemproxy's Redis sharding behavior and operational tradeoffs.
- 2026-07-01: Homebrew lists `nutcracker` stable 0.5.0 revision 1, with `twemproxy` as an alias.

### Related projects

- Redis Cluster
- Redis Sentinel
- memcached

### ソース

- <https://antirez.com/news/44>
- <https://formulae.brew.sh/formula/nutcracker>
- <https://github.com/twitter/twemproxy>
- <https://github.com/twitter/twemproxy/blob/master/ChangeLog>


## セキュリティノート

narrow executable package without higher-risk signals.

- **Geiger リスク:** グリーン / 低
- narrow executable package without higher-risk signals


## 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: conf/nutcracker.yml
## 他のパッケージマネージャ記録

- Debian apt - nutcracker - 0.5.0+dfsg-2+b1: normalized package name match | Debian stable package indexes: nutcracker from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Fast, light-weight proxy for memcached and Redis | https://github.com/twitter/twemproxy
- Ubuntu apt - nutcracker - 0.5.0+dfsg-2: normalized package name match | Ubuntu 24.04 LTS package indexes: nutcracker from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Fast, light-weight proxy for memcached and Redis | https://github.com/twitter/twemproxy


## Combined YAML source

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