# Install bed with Homebrew, MacPorts, Nix

Binary editor written in Go. Version 0.2.8 via Homebrew; verified from local package data.

## Install

```sh
sudo av install brew:bed
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install bed
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install bed
```

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

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#bed
```

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

## Package facts

- **Package key:** brew:bed
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/bed>
- **Version:** 0.2.8
- **Source summary:** Binary editor written in Go
- **Homepage:** <https://github.com/itchyny/bed>
- **Repository:** <https://github.com/itchyny/bed>
- **Upstream docs:** <https://github.com/itchyny/bed#readme>
- **License:** MIT
- **Source archive:** <https://github.com/itchyny/bed/archive/refs/tags/v0.2.8.tar.gz>
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- bed (cli)
- bed (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-08
- Package-manager version: 0.2.8
- Local data: ok
- Upstream repository: https://github.com/itchyny/bed
- Upstream latest detected: v0.2.8 (current)
- info: No package-manager update timestamp was available.
## Project history and usage

bed is a terminal binary editor written in Go, aimed at fast portable editing of binary files with a Vim-like interface.

### Project history

The project was created by itchyny and its repository was opened in April 2018. The README frames the project as both a practical binary editor and an exploration of how to handle large files interactively in Go.

Its upstream releases show a compact CLI tool that has remained active through the 2020s, with v0.1.0 published in January 2020 and v0.2.8 published in December 2024.

### Adoption history

The package is distributed through Homebrew, MacPorts, and Nix according to the supplied package metadata, which is typical for a niche but useful terminal utility.

### How it is used

bed is used for byte-level inspection and editing in a terminal. The README lists large-file support, split windows, search, undo and redo, partial writing, and Vim-influenced commands.

### Why package nerds care

For package collectors, bed is a small example of the modern Go CLI pattern: a single portable executable providing an old Unix workstation tool category, the hex/binary editor, with familiar modal-editor ergonomics.

### Timeline

- 2018: GitHub repository created.
- 2020: v0.1.0 release published.
- 2024: v0.2.8 release published.

### Related projects

- Related package categories include hex editors, binary viewers, and Vim-style terminal editing tools.

### Sources

- <https://api.github.com/repos/itchyny/bed>
- <https://github.com/itchyny/bed#readme>
- <https://github.com/itchyny/bed/releases>
- source_facts.package-manager


## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals

## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** bed
- **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 - bed: normalized package name match | nixpkgs package indexes: pkgs/by-name/be/bed/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- MacPorts - bed: normalized package name match | MacPorts ports tree: sysutils/bed/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/) - Build dependency declared by Homebrew.
- [aurora](https://www.automicvault.com/pkg/brew/aurora/) - Shares av.db curated category or tags: cli, developer-tools, go.
- [bbe](https://www.automicvault.com/pkg/brew/bbe/) - Shares av.db curated category or tags: binary-editor, cli, developer-tools.
- [bvi](https://www.automicvault.com/pkg/brew/bvi/) - Shares av.db curated category or tags: binary-editor, cli, developer-tools.
- [cascadia](https://www.automicvault.com/pkg/brew/cascadia/) - Shares av.db curated category or tags: cli, developer-tools, go.
- [cassowary](https://www.automicvault.com/pkg/brew/cassowary/) - Shares av.db curated category or tags: cli, developer-tools, go.
- [ccat](https://www.automicvault.com/pkg/brew/ccat/) - Shares av.db curated category or tags: cli, developer-tools, go.
- [changie](https://www.automicvault.com/pkg/brew/changie/) - Shares av.db curated category or tags: cli, developer-tools, go.
- [cheat](https://www.automicvault.com/pkg/brew/cheat/) - Shares av.db curated category or tags: cli, developer-tools, go.
- [gat](https://www.automicvault.com/pkg/brew/gat/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, developer, developer-tools, go, written.
- [go-statik](https://www.automicvault.com/pkg/brew/go-statik/) - Both packages touch the same language runtime or ecosystem. Shared terms: binary, cli, developer, developer-tools, go.

## Combined YAML source

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