# tweak を Homebrew, apt, dnf, Nix でインストール

tweak のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install brew:tweak
```

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install tweak
```

  証拠: local Homebrew formula metadata

### Linux

- Debian apt (92%):

```sh
sudo apt install tweak
```

  証拠: Debian stable package indexes: tweak from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install tweak
```

  証拠: Fedora Rawhide package metadata: tweak from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#tweak
```

  証拠: nixpkgs package indexes: pkgs/by-name/tw/tweak/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## パッケージ情報

- **パッケージキー:** brew:tweak
- **パッケージマネージャ:** Homebrew
- **バージョン:** 3.02
- **ソース概要:** Command-line, ncurses library based hex editor
- **ホームページ:** <https://www.chiark.greenend.org.uk/~sgtatham/tweak/>
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- tweak (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 3.02
## プロジェクトの歴史と使われ方

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.

- **Geiger リスク:** グリーン / 低
- library-like package without higher-risk signals


## 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

- Unix: ~/.tweakrc
## 他のパッケージマネージャ記録

- Debian apt - tweak - 3.02-6: normalized package name match | Debian stable package indexes: tweak from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Efficient text-mode hex editor | https://www.chiark.greenend.org.uk/~sgtatham/tweak/
- Nix - tweak: normalized package name match | nixpkgs package indexes: pkgs/by-name/tw/tweak/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - tweak - 3.02-6: normalized package name match | Ubuntu 24.04 LTS package indexes: tweak from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Efficient text-mode hex editor | https://www.chiark.greenend.org.uk/~sgtatham/tweak/
- dnf - tweak - 3.02-23.fc45: normalized package name match | Fedora Rawhide package metadata: tweak from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | An efficient hex editor | http://www.chiark.greenend.org.uk/~sgtatham/tweak/


## Combined YAML source

View the package source record on GitHub. [combined/tweak.yml](https://github.com/mxcl/pkgdb/blob/main/combined/tweak.yml)


## ソース

- pkg.so package database
- Geiger risk classifier
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
