# eg-examples を Homebrew, dnf でインストール

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

## インストール

```sh
sudo av install brew:eg-examples
```

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

### macOS

- Homebrew (100%):

```sh
brew install eg-examples
```

  証拠: local Homebrew formula metadata

### Linux

- dnf (92%):

```sh
sudo dnf install eg
```

  証拠: Fedora Rawhide package metadata: eg from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

## パッケージ情報

- **パッケージキー:** brew:eg-examples
- **パッケージマネージャ:** Homebrew
- **バージョン:** 1.2.3
- **ソース概要:** Useful examples at the command-line
- **ホームページ:** <https://github.com/srsudar/eg>
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- eg (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

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

eg is a command-line examples browser: a companion to man pages that shows short, practical examples for common Unix commands.

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

The srsudar/eg repository was created in 2015. Its README says the name comes from exempli gratia and positions the tool as a way to get examples for commands like find and tar without reading a full manual page.

### 採用の歴史

eg was packaged for both pip and Homebrew, with the Homebrew formula named eg-examples to avoid colliding with the separate Expert Guide package named eg. The README also documents running from source with a symlink to eg_exec.py.

### 使われ方

Users run eg followed by a program name, such as eg find, or run eg --list to see available example topics. Example files live as Markdown in an examples directory, and output is normally paged through less while respecting PAGER.

The tool supports custom example directories, an XDG config file at $XDG_CONFIG_HOME/eg/egrc, a legacy ~/.egrc location, color settings, squeezed output, substitutions, and custom pagers.

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

eg-examples is a neat package-manager corner case: the upstream command is simply eg, but the Homebrew package name is disambiguated because another historical terminal tool already owns the eg formula name.

### タイムライン

- 2015: Public GitHub repository created.
- 2015: v1.0.0 tag appears in the upstream tag history.
- 2025: Repository still receives updates according to GitHub metadata.

### Related projects

- Related projects include man, tldr-style command examples, pager tools such as less, and the unrelated davep/eg Expert Guide reader that explains the Homebrew naming distinction.

### ソース

- <https://github.com/srsudar/eg>
- <https://raw.githubusercontent.com/srsudar/eg/master/README.md>
- <https://api.github.com/repos/srsudar/eg>
- <https://api.github.com/repos/srsudar/eg/tags?per_page=10>


## セキュリティノート

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: $XDG_CONFIG_HOME/eg/egrc, ~/.egrc
## 他のパッケージマネージャ記録

- dnf - eg - 1.7.5.2-44.fc45: installed executable or alias match | Fedora Rawhide package metadata: eg from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Git for mere mortals | http://www.gnome.org/~newren/eg/


## Combined YAML source

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