macOS
brew install tweaklocal Homebrew formula metadata
brew
Command-line, ncurses library based hex editor. Version 3.02 via Homebrew; verified from local package data.
install
brew install tweaklocal Homebrew formula metadata
sudo apt install tweakDebian stable package indexes · tweak · source: deb.debian.org
sudo dnf install tweakFedora Rawhide package metadata · tweak · source: dl.fedoraproject.org
nix profile install nixpkgs#tweaknixpkgs package indexes · pkgs/by-name/tw/tweak/package.nix · source: api.github.com
overview
Command-line, ncurses library based hex editor
history
Tweak is Simon Tatham's terminal hex editor for Unix systems. Its distinguishing historical point is not being another small hex viewer, but a hex editor built around efficient editing of large binary files.
The official Tweak page presents the tool as an ncurses-based Unix hex editor and explains why it was written: it uses a B-tree-based data structure so insertions, cut/copy/paste, and lazy loading can remain fast even for very large files such as disk or CD images.
The current public release documented on the official page is Tweak 3.02, with an online man page and a browsable development repository hosted on git.tartarus.org.
Tweak's adoption appears to be modest but durable: it is packaged by Homebrew and several Unix-like distributions, and its appeal is strongest for users who want a console hex editor with insert-mode editing rather than a GUI binary editor.
Typical use is `tweak filename` in a terminal to inspect or edit exact binary file contents. The man page highlights uses such as modifying executables, editing disk or CD images, debugging binary file formats, and constructing new files from scratch with insert mode.
For package nerds, Tweak is a good example of a small, old-school Unix tool whose implementation detail is the feature: it packages a specialized data structure behind a simple curses interface for binary-file work.
It is also a reminder that package managers preserve narrow utilities long after mainstream developer tooling has moved to graphical or IDE-centered workflows.
security posture
library-like package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Config paths the tool may read or write during local use.
~/.tweakrcexecutables
| Command | Kind | Exposure | Note |
|---|---|---|---|
tweak | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://www.chiark.greenend.org.uk/~sgtatham/tweak/
install metadata
| Package key | brew:tweak |
|---|---|
| Version | 3.02 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/tweak |
| Homepage | https://www.chiark.greenend.org.uk/~sgtatham/tweak/ |
| Repository | https://git.tartarus.org/simon/tweak.git |
| Upstream docs | https://www.chiark.greenend.org.uk/~sgtatham/tweak |
| License | MIT |
| Source archive | https://www.chiark.greenend.org.uk/~sgtatham/tweak/tweak-3.02.tar.gz |
| Uses from macOS | ncurses |
| Bottle | available (on arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | tweak |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
tweak 3.02-6
Efficient text-mode hex editor
https://www.chiark.greenend.org.uk/~sgtatham/tweak/
sudo apt install tweaktweak
nix profile install nixpkgs#tweaktweak 3.02-6
Efficient text-mode hex editor
https://www.chiark.greenend.org.uk/~sgtatham/tweak/
sudo apt install tweaktweak 3.02-22.fc44
An efficient hex editor
http://www.chiark.greenend.org.uk/~sgtatham/tweak/
sudo dnf install tweaksource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.