macOS
brew install tweaklocal Homebrew formula metadata
安装
brew install tweaklocal Homebrew formula metadata
sudo dnf install tweakFedora Rawhide package metadata · tweak · 来源: dl.fedoraproject.org
nix profile install nixpkgs#tweaknixpkgs package indexes · pkgs/by-name/tw/tweak/package.nix · 来源: api.github.com
概览
Command-line, ncurses library based hex editor
历史
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.
安全态势
library-like package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
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.
~/.tweakrc可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
tweak | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://www.chiark.greenend.org.uk/~sgtatham/tweak/
安装元数据
| 软件包键 | brew:tweak |
|---|---|
| 版本 | 3.02 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/tweak |
| 主页 | https://www.chiark.greenend.org.uk/~sgtatham/tweak/ |
| 仓库 | https://git.tartarus.org/simon/tweak.git |
| 上游文档 | https://www.chiark.greenend.org.uk/~sgtatham/tweak |
| 许可证 | MIT |
| 源码归档 | https://www.chiark.greenend.org.uk/~sgtatham/tweak/tweak-3.02.tar.gz |
| macOS 提供的库 | ncurses |
| Bottle | 可用 (于 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 | 未定义 |
| 服务 | 未声明 |
注册表事实
| 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 |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
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 tweak来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.