# empty を Homebrew, Nix でインストール

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

## インストール

```sh
sudo av install brew:empty
```

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

### macOS

- Homebrew (100%):

```sh
brew install empty
```

  証拠: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#empty
```

  証拠: nixpkgs package indexes: pkgs/by-name/em/empty/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## パッケージ情報

- **パッケージキー:** brew:empty
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/empty>
- **バージョン:** 0.6.23d
- **ソース概要:** Lightweight Expect-like PTY tool for shell scripts
- **ホームページ:** <https://empty.sourceforge.net/>
- **上流ドキュメント:** <https://empty.sourceforge.net/>
- **ライセンス:** BSD-3-Clause
- **ソースアーカイブ:** <https://downloads.sourceforge.net/project/empty/empty/empty-0.6.23d/empty-0.6.23d.tgz>
- **生成日時:** 2026-08-04T22:13:35+00:00

## 実行可能ファイル

- empty (cli)
- empty (エイリアス)

## インストール挙動

- post-install フック: 未定義
- Bottle: 利用可能 対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux

## バージョンと鮮度

- ページ生成日: 2026-08-04
- マネージャ版: 0.6.23d
- ローカルデータ: OK
- 上流リポジトリ: https://empty.sourceforge.net/
- 情報: No package-manager update timestamp was available.
- 情報: Release/tag comparison is only available for GitHub repositories.
## プロジェクトの歴史と使われ方

`empty` is a lightweight Unix PTY automation tool meant to let shell scripts drive interactive programs without pulling in Tcl/Expect, Perl, Python, or a larger scripting runtime.

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

The official site says `empty` was written by Mikhail E. Zakharov, based on the idea of Daniel J. Bernstein's pty-4.0 but without porting pty-4.0 code. Its copyright notice spans 2005 to 2020.

### 採用の歴史

The project page lists successful compilation and testing on a broad set of Unix-like systems, including BSDs, macOS, Linux, Solaris, AIX, HP-UX, OSF1, and Cygwin. That portability is the main adoption story rather than a large ecosystem.

### 使われ方

`empty` runs a process under a pseudo-terminal and then sends or waits for text through named input and output files. The homepage compares a short telnet login sequence against Tcl/Expect, Perl Expect, and Python Pexpect examples.

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

The package is interesting because it keeps the old Unix promise small: PTY scripting from plain shell, entirely in C, with minimal dependencies. It is the sort of utility that survives in package managers because it solves one awkward automation job without dragging in a language stack.

### Related projects

- The homepage compares `empty` directly with Tcl/Expect, Perl Expect, and Python Pexpect, and notes the conceptual link to pty-4.0.

### ソース

- <https://empty.sourceforge.net/>
- <https://sourceforge.net/p/empty/code>


## セキュリティノート

generalized runtime or code generation signal.

- **Geiger リスク:** yellow / 中
- generalized runtime or code generation signal

## ソースデータベース詳細

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** empty
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

## 他のパッケージマネージャ記録

- Nix - empty: normalized package name match | nixpkgs package indexes: pkgs/by-name/em/empty/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## 関連リンク

- [Secret-risk packages](https://pkg.so/ja/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://pkg.so/ja/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/ja/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://pkg.so/ja/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [sexpect](https://pkg.so/ja/brew/sexpect/) - Shares pkgdb curated category or tags: automation, cli, developer-tools, expect, pty.
- [expect](https://pkg.so/ja/brew/expect/) - Shares pkgdb curated category or tags: automation, cli, developer-tools.
- [entr](https://pkg.so/ja/brew/entr/) - Shares pkgdb curated category or tags: automation, cli, developer-tools.
- [retry](https://pkg.so/ja/brew/retry/) - Shares pkgdb curated category or tags: automation, cli, developer-tools.
- [appium](https://pkg.so/ja/brew/appium/) - Shares pkgdb curated category or tags: automation, cli, developer-tools.
- [apify-cli](https://pkg.so/ja/brew/apify-cli/) - Shares pkgdb curated category or tags: automation, cli, developer-tools.
- [robot-framework](https://pkg.so/ja/brew/robot-framework/) - Shares pkgdb curated category or tags: automation, cli, developer-tools.
- [docker-gen](https://pkg.so/ja/brew/docker-gen/) - Shares pkgdb curated category or tags: automation, cli, developer-tools.
- [dialog](https://pkg.so/ja/brew/dialog/) - Local package facts share a topical domain. Shared terms: cli, developer, developer-tools, scripting, scripts.

## Combined YAML source

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


## ソース

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