# 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
- **バージョン:** 1.5
- **ソース概要:** for your terminal window
- **ホームページ:** <https://github.com/LuRsT/hr>
- **リポジトリ:** <https://github.com/LuRsT/hr>
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- hr (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

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

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

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

- 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


## Combined YAML source

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


## ソース

- 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
