Automic VaultAutomic Vault

brew

使用 Homebrew, apt, dnf, Nix 安装 tweak

查看 tweak 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install tweak

local Homebrew formula metadata

Linux

Debian apt已验证 · 92%
sudo apt install tweak

Debian stable package indexes · tweak · 来源: deb.debian.org

Fedora dnf已验证 · 92%
sudo dnf install tweak

Fedora Rawhide package metadata · tweak · 来源: dl.fedoraproject.org

Nix已验证 · 92%
nix profile install nixpkgs#tweak

nixpkgs package indexes · pkgs/by-name/tw/tweak/package.nix · 来源: api.github.com

概览

软件包摘要

Command-line, ncurses library based hex editor

命令和别名

  • tweak

历史

项目历史与用法

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.

时间线

  • Pre-2010s: Tweak is published by Simon Tatham as a Unix ncurses hex editor.
  • Tweak 3.02: Current public release documented on the official project page.
  • 2010s-2020s: Tweak remains available through Unix package managers including Homebrew and Linux distributions.

Related projects

  • Simon Tatham's other free software, especially PuTTY and Halibut, shares the same upstream site and packaging culture.
  • Other terminal hex editors and binary editors occupy the same niche, but Tweak's official page emphasizes efficient large-file editing through its B-tree design.

来源

  • Official man page: https://www.chiark.greenend.org.uk/~sgtatham/tweak/manpage-3.02.html
  • Official project page: https://www.chiark.greenend.org.uk/~sgtatham/tweak/
  • Official repository: https://git.tartarus.org/simon/tweak.git

安全态势

风险级别:绿色

library-like package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • library-like package without higher-risk signals

信号

  • metadata:library-like

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 13 个平台目标。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

local files

Configuration and credential file locations

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.

Configuration files

Config paths the tool may read or write during local use.

Unix
~/.tweakrc

可执行文件

已安装的可执行文件

命令类型暴露范围备注
tweakcli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-25
管理器版本3.02
管理器更新时间
本地数据OK
上游not checked
检测到的最新版本未检测到

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 DatabaseHomebrew formula API
Taphomebrew/core
Full Nametweak
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Debian apt95%

tweak 3.02-6

Efficient text-mode hex editor

https://www.chiark.greenend.org.uk/~sgtatham/tweak/

sudo apt install tweak
  • Section: editors
  • Architecture: amd64
  • 3 依赖
  • normalized package name match
  • 匹配方式:Tweak
Debian stable package indexes · deb.debian.org · Debian stable package indexes: tweak from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

tweak

nix profile install nixpkgs#tweak
  • normalized package name match
  • 匹配方式:Tweak
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/tw/tweak/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

tweak 3.02-6

Efficient text-mode hex editor

https://www.chiark.greenend.org.uk/~sgtatham/tweak/

sudo apt install tweak
  • Section: universe/editors
  • Architecture: amd64
  • 3 依赖
  • normalized package name match
  • 匹配方式:Tweak
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: tweak from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
dnf95%

tweak 3.02-22.fc44

An efficient hex editor

http://www.chiark.greenend.org.uk/~sgtatham/tweak/

sudo dnf install tweak
  • License: MIT
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: tweak
  • 4 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Tweak
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: tweak from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment