# hr を Homebrew, apk, MacPorts, Nix でインストール

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

## インストール

```sh
sudo av install brew:hr
```

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

### macOS

- Homebrew (100%):

```sh
brew install hr
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install hr
```

  証拠: MacPorts ports tree: sysutils/hr/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add hr
```

  証拠: Alpine Linux edge package indexes: hr from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Nix (92%):

```sh
nix profile install nixpkgs#hr
```

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

## パッケージ情報

- **パッケージキー:** brew:hr
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/hr>
- **バージョン:** 1.5
- **ソース概要:** for your terminal window
- **ホームページ:** <https://github.com/LuRsT/hr>
- **リポジトリ:** <https://github.com/LuRsT/hr>
- **上流ドキュメント:** <https://github.com/LuRsT/hr#readme>
- **ライセンス:** MIT
- **ソースアーカイブ:** <https://github.com/LuRsT/hr/archive/refs/tags/1.5.tar.gz>
- **生成日時:** 2026-07-08T18:08:21+00:00

## 実行可能ファイル

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

## インストール挙動

- post-install フック: 未定義
- Bottle: 利用可能 対象 all

## バージョンと鮮度

- ページ生成日: 2026-07-08
- マネージャ版: 1.5
- ローカルデータ: OK
- 上流リポジトリ: https://github.com/LuRsT/hr
- 検出された最新: 1.5 (最新)
- 情報: No package-manager update timestamp was available.
## プロジェクトの歴史と使われ方

hr is a tiny POSIX-shell command that prints horizontal rules across a terminal window, usually to visually separate logs, command output, or debugging sessions.

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

The project presents itself as a minimal terminal helper: a single shell script using POSIX shell and tput, installable by copying the script, running make install, or installing the Homebrew formula on macOS.

### 採用の歴史

Its adoption footprint is small but package-manager friendly. The input metadata records packages for Homebrew, MacPorts, Nix, and Alpine, matching the kind of small Unix utility that survives because it is scriptable, dependency-light, and easy to vendor.

### 使われ方

The README shows hr with no arguments for a default rule, with a custom character such as '*', and with multiple arguments to produce stacked ASCII patterns.

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

hr is package-nerd candy because it is the whole Unix small-tool philosophy reduced to a visual separator: no service, no state, no configuration, just a command that composes with a shell session.

### タイムライン

- 1.0: Public tagged release in the upstream Git repository.
- 1.5: Later tagged release in the upstream Git repository.
- Homebrew formula: Packaged as brew:hr according to input metadata.

### Related projects

- Related tools include shell prompt theming, terminal log separators, and ad hoc printf or tput snippets that users often keep in shell profiles.

### ソース

- <https://formulae.brew.sh/formula/hr>
- <https://github.com/LuRsT/hr#readme>
- <https://github.com/LuRsT/hr/wiki>


## セキュリティノート

narrow executable package without higher-risk signals.

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

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

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

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

- Nix - hr: normalized package name match | nixpkgs package indexes: pkgs/by-name/hr/hr/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - hr - 1.5-r0: normalized package name match | Alpine Linux edge package indexes: hr from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Script that prints characters in the entire width of the terminal | https://github.com/LuRsT/hr
- apk - hr-doc - 1.5-r0: normalized package name match | Alpine Linux edge package indexes: hr-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Script that prints characters in the entire width of the terminal (documentation) | https://github.com/LuRsT/hr
- MacPorts - hr: normalized package name match | MacPorts ports tree: sysutils/hr/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## 関連リンク

- [Source-control packages](https://www.automicvault.com/ja/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://www.automicvault.com/ja/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/ja/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Homebrew utility packages](https://www.automicvault.com/ja/pkg/brew-utility-packages/) - Matched Homebrew package provider.
- [lolcat](https://www.automicvault.com/ja/pkg/brew/lolcat/) - Shares av.db curated category or tags: cli, system, terminal, terminal-utilities.
- [lolcrab](https://www.automicvault.com/ja/pkg/brew/lolcrab/) - Shares av.db curated category or tags: cli, system, terminal, terminal-utilities.
- [bashish](https://www.automicvault.com/ja/pkg/brew/bashish/) - Shares av.db curated category or tags: cli, shell, system, terminal.
- [clifm](https://www.automicvault.com/ja/pkg/brew/clifm/) - Shares av.db curated category or tags: cli, shell, system, terminal.
- [murex](https://www.automicvault.com/ja/pkg/brew/murex/) - Shares av.db curated category or tags: cli, shell, system, terminal.
- [nsh](https://www.automicvault.com/ja/pkg/brew/nsh/) - Shares av.db curated category or tags: cli, shell, system, terminal.
- [nushell](https://www.automicvault.com/ja/pkg/brew/nushell/) - Shares av.db curated category or tags: cli, shell, system, terminal.
- [rsync-time-backup](https://www.automicvault.com/ja/pkg/brew/rsync-time-backup/) - Shares av.db curated category or tags: cli, shell, system, terminal.

## Combined YAML source

View the package source record on GitHub. [combined/hr.yml](https://github.com/automic-vault/db/blob/main/combined/hr.yml)


## ソース

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