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

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

## インストール

```sh
sudo av install brew:gitnr
```

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

### macOS

- Homebrew (100%):

```sh
brew install gitnr
```

  証拠: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#gitnr
```

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

## パッケージ情報

- **パッケージキー:** brew:gitnr
- **パッケージマネージャ:** Homebrew
- **バージョン:** 0.3.0
- **ソース概要:** Create .gitignore using templates from TopTal, GitHub or your own collection
- **ホームページ:** <https://github.com/reemus-dev/gitnr>
- **リポジトリ:** <https://github.com/reemus-dev/gitnr>
- **最終更新:** 2026-06-22T14:03:33-07:00
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- gitnr (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

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

gitnr is a Rust CLI for generating `.gitignore` files from reusable templates. It combines templates from the GitHub and TopTal collections with local files, remote URLs, or files from public GitHub repositories.

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

The project appeared on GitHub in August 2023 and published its v0.1.0 release the same day. Its README explains the origin plainly: the author wanted consistent `.gitignore` generation, modular template composition, and a small Rust learning project.

### 採用の歴史

gitnr targets the common bootstrapping moment when a developer starts a repository and wants a sensible ignore file without manually copying template snippets. Its documented installation paths include Homebrew, Cargo, cargo-binstall, NetBSD packages, platform install scripts, and binary releases.

### 使われ方

Practitioners use `gitnr create` with template names such as `gh:Rust` or `tt:clion+all`, optionally combining several templates into one generated ignore file. The `gitnr search` mode provides an interactive browser for previewing and selecting templates.

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

For package catalogs, gitnr is notable as a thin wrapper around shared ignore-template ecosystems rather than a new ignore syntax. Its value is packaging the template lookup, duplicate filtering, caching, and cross-platform install story into one small executable.

### タイムライン

- 2023: Repository created on GitHub.
- 2023: v0.1.0 release published.
- 2023: gitnr crate published on crates.io.

### Related projects

- gitnr depends on the GitHub gitignore template collection and the TopTal gitignore collection as source material for generated files.

### ソース

- <https://api.github.com/repos/reemus-dev/gitnr>
- <https://api.github.com/repos/reemus-dev/gitnr/releases>
- <https://crates.io/api/v1/crates/gitnr>
- <https://github.com/reemus-dev/gitnr>
- <https://raw.githubusercontent.com/reemus-dev/gitnr/main/readme.md>


## セキュリティノート

narrow executable package without higher-risk signals.

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

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

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


## Combined YAML source

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