# Install go-rice with Homebrew, Nix

Easily embed resources like HTML, JS, CSS, images, and templates in Go. Version 1.0.3 via Homebrew; verified 2026-06-13. Also installable with nix: nix profile install nixpkgs#go-rice.

## Install

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

Additional install commands:

### macOS

- Homebrew (100%):

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

  Evidence: local Homebrew formula metadata

### Linux

- Nix (92%):

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

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

## Package facts

- **Package key:** brew:go-rice
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/go-rice>
- **Version:** 1.0.3
- **Source summary:** Easily embed resources like HTML, JS, CSS, images, and templates in Go
- **Homepage:** <https://github.com/GeertJohan/go.rice>
- **Repository:** <https://github.com/GeertJohan/go.rice>
- **Upstream docs:** <https://github.com/GeertJohan/go.rice#readme>
- **License:** BSD-2-Clause
- **Source archive:** <https://github.com/GeertJohan/go.rice/archive/refs/tags/v1.0.3.tar.gz>
- **Last updated:** 2026-06-13T23:34:56+02:00
- **Generated:** 2026-07-25T07:20:51+00:00

## Executables

- rice (cli)
- rice (alias)

## Build dependencies

- go

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux

## Freshness

- Page generated: 2026-07-25
- Package-manager version: 1.0.3
- Package-manager updated: 2026-06-13
- Local data: ok
- Upstream repository: https://github.com/GeertJohan/go.rice
- Upstream latest detected: v1.0.3 (current)
## Project history and usage

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

### Project history

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.

### Adoption history

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.

### How it is used

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.

### Why package nerds care

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.

### Timeline

- 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.

### Sources

- <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>


## Security Notes

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

- **Geiger risk:** blue / medium
- broad file, network, media, or database tool signal

## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** go-rice
- **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

## Other Package-Manager Records

- 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


## Related links

- [Source-control packages](https://www.automicvault.com/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Secret-risk packages](https://www.automicvault.com/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [go](https://www.automicvault.com/pkg/brew/go/) - Build dependency declared by Homebrew.
- [go-statik](https://www.automicvault.com/pkg/brew/go-statik/) - Shares av.db curated category or tags: asset-embedding, cli, developer-tools, go, static-files.
- [go-bindata](https://www.automicvault.com/pkg/brew/go-bindata/) - Shares av.db curated category or tags: asset-embedding, cli, developer-tools, go.
- [go-blueprint](https://www.automicvault.com/pkg/brew/go-blueprint/) - Shares av.db curated category or tags: cli, developer-tools, go, templates.
- [templ](https://www.automicvault.com/pkg/brew/templ/) - Shares av.db curated category or tags: cli, developer-tools, go, templates.
- [addlicense](https://www.automicvault.com/pkg/brew/addlicense/) - Shares av.db curated category or tags: cli, developer-tools, go.
- [ali](https://www.automicvault.com/pkg/brew/ali/) - Shares av.db curated category or tags: cli, developer-tools, go.
- [anycable-go](https://www.automicvault.com/pkg/brew/anycable-go/) - Shares av.db curated category or tags: cli, developer-tools, go.
- [asc](https://www.automicvault.com/pkg/brew/asc/) - Shares av.db curated category or tags: cli, developer-tools, go.
- [stuffbin](https://www.automicvault.com/pkg/brew/stuffbin/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, developer, developer-tools, embed, embedding.

## Combined YAML source

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


## Sources

- 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
