# go-rice を Homebrew, Nix でインストール

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

## インストール

```sh
sudo av install brew:go-rice
```

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

### macOS

- Homebrew (100%):

```sh
brew install go-rice
```

  証拠: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#go-rice
```

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

## パッケージ情報

- **パッケージキー:** brew:go-rice
- **パッケージマネージャ:** Homebrew
- **バージョン:** 1.0.3
- **ソース概要:** Easily embed resources like HTML, JS, CSS, images, and templates in Go
- **ホームページ:** <https://github.com/GeertJohan/go.rice>
- **リポジトリ:** <https://github.com/GeertJohan/go.rice>
- **最終更新:** 2026-07-27T16:47:24+02:00
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- rice (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

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

go.rice is a Go resource-embedding library and command-line tool for bundling web assets, templates, and other static files into Go programs.

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

The public repository for go.rice was created in 2013 by GeertJohan, during the period when Go projects commonly used external generators to ship self-contained binaries with static assets. Its README describes a development/deployment split: during development it reads resources from disk, while the rice tool can embed generated Go source or append a zip payload to a built executable for deployment.

### 採用の歴史

go.rice became one of the named tools in the pre-embed era of Go asset packaging. The Go project's later embed design documents described the broader ecosystem problem as one with many tools that required a manual generation step, the same workflow category that go.rice served.

### 使われ方

Practitioners use go.rice by declaring boxes such as rice.FindBox("html-files"), serving them through HTTP helpers, reading template strings, and running rice embed-go or rice append before distributing a standalone executable.

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

The Homebrew formula matters because it exposes the rice executable as a small packaging-time helper for Go programs that predate or cannot yet use the standard //go:embed workflow.

### タイムライン

- 2013: GitHub repository created for go.rice.
- 2021: Go 1.16 added standard static-file embedding through //go:embed, changing the ecosystem around tools such as go.rice.

### Related projects

- Related Go asset-embedding tools include statik and the standard library embed package introduced in Go 1.16.

### ソース

- <https://api.github.com/repos/GeertJohan/go.rice>
- <https://formulae.brew.sh/formula/go-rice>
- <https://github.com/GeertJohan/go.rice>
- <https://go.dev/doc/go1.16>
- <https://go.googlesource.com/proposal/+/master/design/draft-embed.md>


## セキュリティノート

broad file, network, media, or database tool signal.

- **Geiger リスク:** blue / 中
- broad file, network, media, or database tool signal

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

- Nix - go-rice: normalized package name match | nixpkgs package indexes: pkgs/by-name/go/go-rice/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/go-rice.yml](https://github.com/mxcl/pkgdb/blob/main/combined/go-rice.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
