# Install bitwise with Homebrew, apk, apt, dnf, MacPorts, Nix, zypper

Terminal based bit manipulator in ncurses. Version 0.50 via Homebrew; verified from local package data. Also installable with debian: sudo apt install bitwise.

## Install

```sh
sudo av install brew:bitwise
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install bitwise
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install bitwise
```

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

### Linux

- apk (92%):

```sh
sudo apk add bitwise
```

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

- Debian apt (92%):

```sh
sudo apt install bitwise
```

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

- dnf (92%):

```sh
sudo dnf install bitwise
```

  Evidence: Fedora Rawhide package metadata: bitwise from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#bitwise
```

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

- zypper (92%):

```sh
sudo zypper install bitwise
```

  Evidence: openSUSE Tumbleweed package metadata: bitwise from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

## Package facts

- **Package key:** brew:bitwise
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/bitwise>
- **Version:** 0.50
- **Source summary:** Terminal based bit manipulator in ncurses
- **Homepage:** <https://github.com/mellowcandle/bitwise>
- **Repository:** <https://github.com/mellowcandle/bitwise>
- **Upstream docs:** <https://github.com/mellowcandle/bitwise#readme>
- **License:** GPL-3.0-or-later
- **Source archive:** <https://github.com/mellowcandle/bitwise/releases/download/v0.50/bitwise-v0.50.tar.gz>
- **Generated:** 2026-07-25T07:20:51+00:00

## Executables

- bitwise (cli)
- bitwise (alias)

## Dependencies

- readline

## Build dependencies

- autoconf
- automake

## 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-25
- Package-manager version: 0.50
- Local data: ok
- Upstream repository: https://github.com/mellowcandle/bitwise
- info: No package-manager update timestamp was available.
- info: No cached GitHub release or tag data was available.
## Project history and usage

Bitwise is a terminal bit-manipulation calculator with an ncurses interface and a command-line expression mode. The README describes it as a multi-base interactive calculator for low-level hackers, kernel developers, and device-driver developers.

### Project history

The GitHub repository was created in 2019. Releases moved quickly through 0.3x and 0.4x in 2019, with v0.50 published in July 2023 and reflected in the generated man page.

### Adoption history

The README documents installation across Ubuntu, Snap, openSUSE, Arch AUR, Void, Fedora, Buildroot, Yocto, MacPorts, Homebrew, and Nix. The input package-manager data also lists several mainstream Unix package managers.

Its packaging footprint is broader than its small scope because bit/base conversion is useful in embedded, kernel, networking, and driver work where terminal tools are preferred.

### How it is used

Without arguments, bitwise starts in interactive mode, where users can toggle individual bits, change bit widths, reverse endianness, and evaluate expressions. With an expression argument, it prints results in multiple bases, including binary.

The README also documents IPv4 address parsing and a Vim integration project, making it useful as both a standalone terminal tool and a helper for editor-driven low-level work.

### Why package nerds care

Bitwise is a compact example of the sort of utility package that earns its place by replacing mental arithmetic and ad hoc shell snippets with one focused terminal UI.

Its significance is not ecosystem size but shape: ncurses, readline, packaged across Unix systems, and aimed at people reading registers, masks, addresses, and wire-level values.

### Timeline

- 2019: mellowcandle/bitwise repository created.
- 2019-07-10: v0.30 release published.
- 2021-11-01: v0.43 release published.
- 2023-07-20: v0.50 release published.

### Related projects

- vim-bitwise is linked by the README as editor integration.
- ncurses and readline are build-time/runtime libraries used for the terminal interface.
- Buildroot and Yocto are relevant downstream environments because the README notes Bitwise availability there.

### Sources

- <https://github.com/mellowcandle/bitwise#readme>
- <https://github.com/mellowcandle/bitwise/blob/master/bitwise.1>
- 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:** bitwise
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

## Other Package-Manager Records

- Debian apt - bitwise - 0.50-1+b1: normalized package name match | Debian stable package indexes: bitwise from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Interactive bitwise operation in ncurses | https://github.com/mellowcandle/bitwise
- Nix - bitwise: normalized package name match | nixpkgs package indexes: pkgs/by-name/bi/bitwise/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - bitwise - 0.50-1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: bitwise from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Interactive bitwise operation in ncurses | https://github.com/mellowcandle/bitwise
- apk - bitwise - 0.50-r2: normalized package name match | Alpine Linux edge package indexes: bitwise from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Terminal based bit manipulator in ncurses | https://github.com/mellowcandle/bitwise
- apk - bitwise-doc - 0.50-r2: normalized package name match | Alpine Linux edge package indexes: bitwise-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Terminal based bit manipulator in ncurses (documentation) | https://github.com/mellowcandle/bitwise
- dnf - bitwise - 0.50-8.fc44: normalized package name match | Fedora Rawhide package metadata: bitwise from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Terminal based bit manipulator in ncurses | https://github.com/mellowcandle/bitwise
- zypper - bitwise - 0.50-1.8: normalized package name match | openSUSE Tumbleweed package metadata: bitwise from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Interactive bit-wise operation in ncurses | https://github.com/mellowcandle/bitwise
- MacPorts - bitwise: normalized package name match | MacPorts ports tree: devel/bitwise/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.
- [autoconf](https://www.automicvault.com/pkg/brew/autoconf/) - Build dependency declared by Homebrew.
- [automake](https://www.automicvault.com/pkg/brew/automake/) - Build dependency declared by Homebrew.
- [dex](https://www.automicvault.com/pkg/brew/dex/) - Shares av.db curated category or tags: cli, developer-tools, ncurses, terminal.
- [tweak](https://www.automicvault.com/pkg/brew/tweak/) - Shares av.db curated category or tags: cli, developer-tools, ncurses, terminal.
- [aha](https://www.automicvault.com/pkg/brew/aha/) - Shares av.db curated category or tags: cli, developer-tools, terminal.
- [ain](https://www.automicvault.com/pkg/brew/ain/) - Shares av.db curated category or tags: cli, developer-tools, terminal.
- [ansifilter](https://www.automicvault.com/pkg/brew/ansifilter/) - Shares av.db curated category or tags: cli, developer-tools, terminal.
- [asciinema](https://www.automicvault.com/pkg/brew/asciinema/) - Shares av.db curated category or tags: cli, developer-tools, terminal.
- [atac](https://www.automicvault.com/pkg/brew/atac/) - Shares av.db curated category or tags: cli, developer-tools, terminal.
- [bcal](https://www.automicvault.com/pkg/brew/bcal/) - Shares av.db curated category or tags: calculator, cli, developer-tools.
- [rlwrap](https://www.automicvault.com/pkg/brew/rlwrap/) - Local package facts share a topical domain. Shared terms: cli, developer, developer-tools, readline, terminal.
- [dwarf](https://www.automicvault.com/pkg/brew/dwarf/) - Local package facts share a topical domain. Shared terms: cli, developer, developer-tools, manipulation, readline.

## Combined YAML source

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