# Install go-bindata with Homebrew, apk, apt, MacPorts, Nix, zypper

Small utility that generates Go code from any file. Version 4.0.2 via Homebrew; verified from local package data.

## Install

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

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install go-bindata
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install go-bindata
```

  Evidence: MacPorts ports tree: devel/go-bindata/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add go-bindata
```

  Evidence: Alpine Linux edge package indexes: go-bindata from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install go-bindata
```

  Evidence: Debian stable package indexes: go-bindata from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- Nix (92%):

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

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

- zypper (92%):

```sh
sudo zypper install golang-github-jteeuwen-go-bindata
```

  Evidence: openSUSE Tumbleweed package metadata: golang-github-jteeuwen-go-bindata from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

## Package facts

- **Package key:** brew:go-bindata
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/go-bindata>
- **Version:** 4.0.2
- **Source summary:** Small utility that generates Go code from any file
- **Homepage:** <https://github.com/kevinburke/go-bindata>
- **Repository:** <https://github.com/kevinburke/go-bindata>
- **Upstream docs:** <https://github.com/kevinburke/go-bindata#readme>
- **License:** BSD-2-Clause
- **Source archive:** <https://github.com/kevinburke/go-bindata/archive/refs/tags/v4.0.2.tar.gz>
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- go-bindata (cli)
- go-bindata (alias)

## Dependencies

- go

## Install behavior

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

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 4.0.2
- Local data: ok
- Upstream repository: https://github.com/kevinburke/go-bindata
- Upstream latest detected: v4.0.2 (current)
- info: No package-manager update timestamp was available.
## Project history and usage

go-bindata is a Go code-generation utility for embedding files into Go programs. It belongs to an older pre-embed generation of Go asset tooling: developers ran a command over static assets, committed or built the generated Go file, and accessed assets through generated helper functions.

### Project history

The project lineage began with jteeuwen/go-bindata, whose README described conversion of arbitrary files into manageable Go source code. Kevin Burke's fork became the Homebrew-trusted version and documented maintenance changes such as atomic writes, SHA-256 hashes for embedded files, generated code formatting, size reporting, and safer file-mode handling.

### Adoption history

The tool spread through package-manager ecosystems because it solved a common deployment problem for Go services before Go added native file embedding. Homebrew, Debian-family packages, Nix, MacPorts, and other distributions carried go-bindata or its original jteeuwen package name, which made it a familiar build-time dependency for Go web services and single-binary CLIs.

### How it is used

Practitioners use go-bindata by pointing the CLI at one or more directories, often with recursive `...` patterns, and then importing the generated `bindata.go` output into an application. The README highlights common production and development patterns: debug mode loads assets from disk during iteration, release mode embeds them into the binary, and flags such as `-o`, `-ignore`, `-prefix`, `-nocompress`, and `-nomemcopy` tune output shape and runtime tradeoffs.

### Why package nerds care

For package maintainers, go-bindata is notable as a maintained fork of a once widely packaged Go asset tool. Its presence in Homebrew under Kevin Burke's fork records the practical packaging move from an older upstream identity to a maintained distribution target.

### Timeline

- 2016: Kevin Burke's fork was created on GitHub.
- 2017: The fork began publishing GitHub releases.
- 2023: v4 releases continued the module-era maintenance line.

### Related projects

- jteeuwen/go-bindata
- elazarl/go-bindata-assetfs
- Go embed package

### Sources

- <https://formulae.brew.sh/formula/go-bindata>
- <https://github.com/jteeuwen/go-bindata>
- <https://github.com/kevinburke/go-bindata>
- <https://github.com/kevinburke/go-bindata/releases>


## Security Notes

library-like package without higher-risk signals.

- **Geiger risk:** green / low
- library-like package without higher-risk signals

## Source Database Details

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

- Debian apt - go-bindata - 3.0.7+git20151023.72.a0ff256-4+b16: normalized package name match | Debian stable package indexes: go-bindata from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | embed data in a Go program | https://github.com/jteeuwen/go-bindata
- Nix - go-bindata: normalized package name match | nixpkgs package indexes: pkgs/by-name/go/go-bindata/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - go-bindata - 3.0.7+git20151023.72.a0ff256-4build1: normalized package name match | Ubuntu 24.04 LTS package indexes: go-bindata from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | embed data in a Go program | https://github.com/jteeuwen/go-bindata
- apk - go-bindata - 3.1.3-r44: normalized package name match | Alpine Linux edge package indexes: go-bindata from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | A small utility which generates Go code from any file | https://github.com/go-bindata/go-bindata
- zypper - golang-github-jteeuwen-go-bindata - 3.0.7+git20151023.72.a0ff256-5.23: normalized package name match | openSUSE Tumbleweed package metadata: golang-github-jteeuwen-go-bindata from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | A small utility which generates Go code from any file | https://github.com/jteeuwen/go-bindata
- MacPorts - go-bindata: normalized package name match | MacPorts ports tree: devel/go-bindata/Portfile from https://api.github.com/repos/macports/macports-ports/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.
- [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.
- [Developer build packages](https://www.automicvault.com/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [go](https://www.automicvault.com/pkg/brew/go/) - Runtime dependency declared by Homebrew.
- [gomodifytags](https://www.automicvault.com/pkg/brew/gomodifytags/) - Shares av.db curated category or tags: cli, code-generation, developer-tools, go.
- [counterfeiter](https://www.automicvault.com/pkg/brew/counterfeiter/) - Shares av.db curated category or tags: cli, code-generation, developer-tools, go.
- [go-blueprint](https://www.automicvault.com/pkg/brew/go-blueprint/) - Shares av.db curated category or tags: cli, code-generation, developer-tools, go.
- [goctl](https://www.automicvault.com/pkg/brew/goctl/) - Shares av.db curated category or tags: cli, code-generation, developer-tools, go.
- [gowsdl](https://www.automicvault.com/pkg/brew/gowsdl/) - Shares av.db curated category or tags: cli, code-generation, developer-tools, go.
- [hz](https://www.automicvault.com/pkg/brew/hz/) - Shares av.db curated category or tags: cli, code-generation, developer-tools, go.
- [ifacemaker](https://www.automicvault.com/pkg/brew/ifacemaker/) - Shares av.db curated category or tags: cli, code-generation, developer-tools, go.
- [mockery](https://www.automicvault.com/pkg/brew/mockery/) - Shares av.db curated category or tags: cli, code-generation, developer-tools, go.
- [go-rice](https://www.automicvault.com/pkg/brew/go-rice/) - Both packages touch the same language runtime or ecosystem. Shared terms: asset, asset-embedding, assets, cli, developer.
- [go-statik](https://www.automicvault.com/pkg/brew/go-statik/) - Both packages touch the same language runtime or ecosystem. Shared terms: asset, asset-embedding, assets, cli, developer.

## Combined YAML source

View the package source record on GitHub. [combined/go-bindata.yml](https://github.com/automic-vault/db/blob/main/combined/go-bindata.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
