tui-tools

tui-tools

Every tui-tools tool in one place, installed through your package manager

A terminal UI (TUI) for pacman, apt and dnf on Linux: the launcher of the tui-tools family.

v0.4.0betapackagesMIT

Betatui-tools may still change keys, flags or output before its 1.0. Pin the version you depend on, and report what breaks.What stable means

The dashboard: every tool of the family, what this machine has, and what the repository offers
The dashboard: every tool of the family, what this machine has, and what the repository offers

The launcher of the tui-tools family. Every tool of the family is a card: what it does, whether this machine has it, which version, and whether the repository offers a newer one.

A second group holds the companions: family packages that are not terminal UIs, and upstream projects rebuilt under the family provenance gate. The row says which repository the installed copy came from; o switches it to the family's build.

Install, update and remove go through the distribution's own package manager — apt, dnf or pacman — each previewed as the exact command line and confirmed before it runs. enter hands the terminal to an installed tool and takes it back on exit.

The catalog it reads only says which packages exist. It never decides what reaches the machine: your package manager verifies the signed repository index and the signed package, and every package name in it is validated twice before it can reach a command line. A snapshot of it is built into the binary, so the dashboard works offline.

s sets the repository up, with the key pinned by fingerprint.

Run tui-tools --demo for a sample machine where every key works and nothing is touched.

Keys

KeyAction
enterLaunch the selected tool; on a companion, show its full status instead
iInstall it, through this machine's package manager
uUpdate it
x / dRemove it; nothing it pulled in is autoremoved
oSwitch a companion to the tui-tools build, when it came from elsewhere
sSet the tui-tools repository up, with the key pinned by fingerprint
rRe-read the catalog and the machine
/Filter by name, tagline, category or state
?Help
qQuit

Press ? inside the tool for the full help screen, which is generated from the same action table as the key map.

Compatibility

This tool is a face on the program below, so its version matters. Tested is not a claim: a version lands there only after the tool's own suite passed against it on a real machine in the lab, and the run is kept as evidence in the repository. At startup the tool probes the backend once and says what it found in its header — a version nobody has run against is shown as (untested) in the warning colour, one older than the minimum as (below minimum) in the error colour. Neither stops it: the backend still refuses what it cannot do, in its own words.

pacman

pacman ≥ 6.0
Binary
pacman
Minimum
6.0
Probed with
pacman --version
Tested
7.1.0

What changes on older versions

  • pacman >=6.0

    Arch has no supported partial upgrade, so an update is pacman -Syu with the tool named, and the dialog says so. Omarchy's pacman hook refuses a direct -Syu, so there it is pacman -S --needed instead, and the dialog says why

  • pacman >=6.0

    the repository setup writes a [tui-tools] section under /etc/pacman.d and adds one Include line to pacman.conf, so a later setup finds it again instead of appending a second block

  • pacman >=6.0

    pacman records no repository for an installed package, so a companion's origin is inferred rather than read: a bare [installed] in pacman -Sl tui-tools means the machine has the version that repository offers, and pacman -Si names the repository whose version matches the installed one

apt

apt ≥ 2.0
Binary
apt
Minimum
2.0
Probed with
apt --version
Tested
2.8.33.2.0

What changes on older versions

  • apt >=2.0

    the available version comes from apt-cache policy, which reads the lists already on disk; a repository added a moment ago reports nothing until the refresh, which is the first previewed step of an install rather than something the read path does behind you

  • apt >=2.0

    a companion's origin is read off apt-cache policy: the version marked *** is the installed one, and the first source under it that is not /var/lib/dpkg/status is where it came from. apt cannot install from a named repository, so a switch names the family's version instead

dnf

dnf ≥ 4.0
Binary
dnf
Minimum
4.0
Probed with
dnf --version
Tested
No recorded run yet. The tool still runs and reports the version it found as untested.

Needs a version this new

  • dnf5since 5.0

What changes on older versions

  • dnf >=5.0

    dnf --version prints dnf5 version 5.2.18.0, where dnf4 prints a bare 4.24.0 on its first line; both are read by the same pattern, which keeps three components because a four-part version is not one the family schema records

  • dnf >=4.0

    the available version comes from dnf repoquery, which answers from the cache on disk, so a machine whose metadata has expired reports what it last fetched rather than refreshing behind you

  • dnf >=4.0

    dnf is the one manager that records where an installed package came from, so a companion's origin is read rather than inferred: dnf repoquery --installed --qf '%{name}|%{from_repo}' answers it on dnf4 and dnf5, and @System means it came from a file

Maintain pacman, apt or dnf? You are welcome to help shape this tool. About → maintainers

Install

Once per machine, then every tool in the family is one pacman away.

Add the repository
$ curl -fsSL https://pkgs.tui.tools/install.sh | sh
Or run the same thing yourself, one command at a time

A family whose whole promise is preview before you run is not going to insist you pipe a script into a shell. These are the commands that script runs.

The one-time setup, by hand
$ k="$(mktemp -d)/tui-tools.asc"
  curl -fsSL --proto =https --tlsv1.2 -o "$k" https://pkgs.tui.tools/pubkey.asc
  [ "$(gpg --show-keys --with-colons "$k" | awk -F: '$1 == "pub" { p = 1; next } p && $1 == "fpr" { print $10; p = 0 }')" = 767CFB337B01F32FFC073F3F389120B277E4FB44 ] && echo "key OK" || { echo "WRONG KEY: stop here"; rm -f "$k"; }
  sudo pacman-key --add "$k"
  sudo pacman-key --lsign-key 767CFB337B01F32FFC073F3F389120B277E4FB44
  printf '[tui-tools]\nServer = https://pkgs.tui.tools/arch/$arch\n' | sudo tee -a /etc/pacman.conf
  sudo pacman -Sy

The first lines check the signing key: go on only if they print key OK.

Arch Linux · tui-tools
$ sudo pacman -S tui-tools

Upgrades then arrive with the rest of your system updates.

What it can do to your machine

  • Preview, then confirm

    Every change is shown as an exact command line and confirmed before it runs. The dialog and the runner receive the same value, so the preview cannot drift from what executes.

  • Escalates for actions

    Reads are unprivileged: which tools are installed and which the repositories offer are local database queries any user may make. Escalation is sudo -n, which never prompts, and covers only the installs, updates, removals and the repository setup you confirmed.

  • No daemon, no state of its own

    Nothing keeps running after you quit, and nothing is installed to run later. The system is the source of truth; the tool re-reads it after every change.

  • Opens network connections

    It fetches https://tui.tools/catalog.json, the list of tools and their versions. The catalog only informs: nothing from it reaches a command line except a name matching tui-<word>, and the package manager verifies the signed repository. --offline uses the snapshot in the binary.

  • Static binary

    Released statically linked, with no runtime dependencies to install.

  • Signed release, with provenance

    checksums.txt carries a keyless cosign signature from this repository's release workflow, every archive has a CycloneDX SBOM, and every archive, package and the checksum file carry SLSA build provenance. The security page shows the three commands that check it.

Reporting

Report a security issue privately, through GitHub's private vulnerability reporting on the repository's Security tab. The family-wide policy, and what counts as in scope, is on the security page.

Downloads

v0.4.0 · 2026-11-20
FileSizeSHA-256
checksums.txt1016 B—
checksums.txt.sigstore.json10 KB—
provenance.intoto.jsonl12 KB—
tui-tools-0.4.0-1-aarch64.pkg.tar.zst3.1 MB7e929a719616c459916eb69b2665f7bc6288554aa25e1be9975f392a470c9054
tui-tools-0.4.0-1-x86_64.pkg.tar.zst3.4 MBa6461b021e9f779f532590ac917f81ebbace869fd48ba92128665a0e6efe3bf0
tui-tools-0.4.0-1.aarch64.rpm3.1 MB1f682d5498bdd10e2106f3268020ed5019bd7f5df8bd9b17a74038e6035e177c
tui-tools-0.4.0-1.x86_64.rpm3.5 MB6256161fa6d44a090779bf8f370661cd4bdaec865fdc5b27583dfc0dd33e2a69
tui-tools_0.4.0_amd64.deb3.4 MBca1a9f63c8d3a55bf154e917b34af94e038de86b277ab1177c5e2c30189664c8
tui-tools_0.4.0_arm64.deb3.1 MB46a778ef13d1cafb55df3c37fbd4e039d79510396bb985d317a0a8bc1567fdd2
tui-tools_0.4.0_linux_amd64.tar.gz3.4 MBb22363bf16673541122addcd9fb34c4c0a338cd15508f418b173ca667f54a1d8
tui-tools_0.4.0_linux_amd64.tar.gz.cyclonedx.json23 KBfff3460092ebd3034918a6908e293e0ddcf74a7b8febf12f57a7f34cee956f46
tui-tools_0.4.0_linux_arm64.tar.gz3.1 MBdb725fec44d6d9161a891933514e086da5bf7649a7f1e36de2876de03659997f
tui-tools_0.4.0_linux_arm64.tar.gz.cyclonedx.json23 KBa6900a75611a43b3d92d172ef8b281b35a9e21e2b4d2cd1edc72ed22b1fd9693

Every release ships a checksums.txt. Download it next to the archive and run sha256sum -c checksums.txt --ignore-missing. See verifying a download.

Releases

v0.4.0

2026-11-20
## tui-tools v0.4.0

tui-tools 0.4.0

- Built with tui-kit v0.5.0, the kit's security release, and Go 1.27.4, which fixes GO-2026-6859 in the standard library. When the tui-tools package repository is set up, its key is accepted only when it is the pinned key alone. As root, privileged commands are resolved only from trusted root-owned system paths and start from a minimal environment; config files must be owned and writable by root alone, and TUI_TOOLS_* variables carried over from sudo, doas, pkexec or su are refused (the error points at /etc/tui-tools/config.toml). Running without root is unchanged.
- The manual apt, dnf and pacman setup in the README checks the downloaded key against the pinned fingerprint before any step trusts it.
- The catalog is read over HTTPS only, and every redirect is held to the same rule; plain HTTP is accepted only for localhost and loopback addresses. A refused address falls back to the embedded snapshot with the reason, as an unreachable one already did (#34). Anyone pointing --catalog, the catalog setting or TUI_TOOLS_CATALOG at a plain http:// address will now get the snapshot, which is why this is 0.4.0 and not a patch.
- CI actions on their latest versions.

Built by this repository's CI on the tag itself. Each archive ships a
CycloneDX SBOM, `checksums.txt` carries a keyless cosign signature, and
every file has SLSA build provenance — see the README's "Verify a
download" for the two commands that check them.

The commits in this release:

## Changelog
* d7bc09f175d429a7ace3ddf2f86f85e9a60d4aa0 0.4.0: tui-kit v0.5.0 (security release) (#36)
* 659296c33e07beeb3cfe2740d729be0c7063d4df Bump github.com/tui-tools/tui-kit (#32)
* 33da75236819a7d2e5fd8d2cc5ca73f3c02c127d Bump the github-actions group across 1 directory with 5 updates (#33)
* 6d31da11371bc072fc0fd846460b289c5bbd6653 Read the catalog over HTTPS only, and hold redirects to the same rule (#34)
* 7f7fa0ff967706c8684fd06a629979d9b239e4bb Take tui-kit v0.5.0 and Go 1.27.4 (#35)

v0.3.4

2026-10-22
## tui-tools v0.3.4

tui-tools 0.3.4

- Built with Go 1.27.3, which fixes CVE-2026-111943 in the standard library (crypto/x509), and tui-kit v0.4.5; dependencies on their latest versions. No change in behavior.

Built by this repository's CI on the tag itself. Each archive ships a
CycloneDX SBOM, `checksums.txt` carries a keyless cosign signature, and
every file has SLSA build provenance — see the README's "Verify a
download" for the two commands that check them.

The commits in this release:

## Changelog
* 0242bdb1ba79871f9c67ede1453c75d41d07341a 0.3.4: Go 1.27.3 (stdlib security fixes) (#30)
* 58eaa6b2084e5291e7282bbd9ee4d553b42d9d9a Bump the github-actions group across 1 directory with 9 updates (#28)

v0.3.3

2026-10-20
## tui-tools v0.3.3

tui-tools 0.3.3

- Built with Go 1.27.2, which fixes CVE-2026-78667, CVE-2026-78669 and CVE-2026-97031 in the standard library (net/http, crypto/tls). No change in behavior.

Built by this repository's CI on the tag itself. Each archive ships a
CycloneDX SBOM, `checksums.txt` carries a keyless cosign signature, and
every file has SLSA build provenance — see the README's "Verify a
download" for the two commands that check them.

The commits in this release:

## Changelog
* 524e8d6deec206c4675ad23885b4d803d1612b22 0.3.3: Go 1.27.2 (stdlib security fixes) (#29)

v0.3.2

2026-09-26
## tui-tools v0.3.2

tui-tools 0.3.2

The embedded catalog snapshot is refreshed: it now lists tui-dc, tui-router, tui-traffic, tui-tailscale and tui-wireguard (formerly tui-vpn), so the launcher shows the whole family even before it reaches the live catalog.

Built by this repository's CI on the tag itself. Each archive ships a
CycloneDX SBOM, `checksums.txt` carries a keyless cosign signature, and
every file has SLSA build provenance — see the README's "Verify a
download" for the two commands that check them.

The commits in this release:

## Changelog
* ab4c1827a8de917d6e83d027d00831306c7ff054 catalog: refresh the embedded snapshot (#25)

v0.3.1

2026-09-25
## tui-tools v0.3.1

tui-tools 0.3.1

Release notes (0.3.1): companion packages (headscale, tui-tools components) are now installed, upgraded and removed through tui-kit's companion builders instead of a copy kept in this launcher. Installs and upgrades still name the family repository on pacman (`tui-tools/headscale`), so Arch's own build of a mirror cannot win over the family's; apt and dnf get the bare name as before. apt steps, the switch to the family build included, now run with `DEBIAN_FRONTEND=noninteractive NEEDRESTART_MODE=a`, and every command runs without a controlling terminal, so a debconf, needrestart or password prompt fails fast instead of waiting invisibly behind the TUI.

Built by this repository's CI on the tag itself. Each archive ships a
CycloneDX SBOM, `checksums.txt` carries a keyless cosign signature, and
every file has SLSA build provenance — see the README's "Verify a
download" for the two commands that check them.

The commits in this release:

## Changelog
* 0fe5abe623eae4c60dd0ecb2545070fb5cd74e7a Take tui-kit v0.4.4: companions go through the kit's builders (#24)

v0.3.0

2026-09-25
## tui-tools v0.3.0

tui-tools 0.3.0: Omarchy installs, companions from the family repository, a running indicator

tui-tools 0.3.0 installs and updates on Omarchy. Omarchy's pacman hook refuses a direct `-Syu`, so there the launcher uses `pacman -S --needed` for tools and companions alike, and the confirm dialog explains why before anything runs. Plain Arch keeps `-Syu`. On pacman, companions such as headscale are now installed and updated as `tui-tools/<name>`, so the family's build is what arrives even when the distribution ships the same package, and `o` remains the one way to switch a copy that came from elsewhere. While an install, update or removal runs, the status line shows what is running and for how long, updated every second, so a slow download no longer looks like a frozen screen. Built on tui-kit v0.4.1, which no longer cuts a mutation off at the read timeout.

Built by this repository's CI on the tag itself. Each archive ships a
CycloneDX SBOM, `checksums.txt` carries a keyless cosign signature, and
every file has SLSA build provenance — see the README's "Verify a
download" for the two commands that check them.

The commits in this release:

## Changelog
* 2957f82984bab79e7c45fb8e42c239de333d4349 Record the lab run on Ubuntu 26.04: apt 3.2.0 tested (#22)
* f905bf0ce7605da914f94b936794342c4111a21d Release 0.3.0: Omarchy installs, running indicator; tui-kit v0.4.1 (#23)

v0.2.2

2026-09-24
## tui-tools v0.2.2

Ubuntu: the dashboard reads the machine again once dpkg knows a sibling tool's name without it being installed (tui-kit v0.3.2). The .deb path is now exercised in CI on Ubuntu LTS and devel, and apt 2.8.3 on Ubuntu 24.04 is recorded as tested.

Built by this repository's CI on the tag itself. Each archive ships a
CycloneDX SBOM, `checksums.txt` carries a keyless cosign signature, and
every file has SLSA build provenance — see the README's "Verify a
download" for the two commands that check them.

The commits in this release:

## Changelog
* 2e0d03092cb9061745562d82586f42356e403b55 Bump anchore/sbom-action/download-syft (#5)
* 32d6f879630994f8d46c78393d0280c6dfde5572 Bump anchore/sbom-action/download-syft in the github-actions group (#18)
* 1febed20aeb6744478e3ae6ca7ed247a9663fedb Bump the github-actions group with 4 updates (#19)
* 76628fe00fb573af772f75c4dc97f5b913135f12 README: link the tool's page on tui.tools (#17)
* fe6fc7992382b78a4fa7601b97919c6d21115876 README: point the install snippet at the current release (#16)
* 6a13c6c37097325e0a88d7f790338bde501fbaf1 Read the dpkg status for the family and the companions; guard the .deb path in CI (#21)

v0.2.1

2026-09-02
## tui-tools v0.2.1

tui-kit v0.3.0: the dialogs wrap and scroll instead of clipping the
command preview, and the picker filters as you type.

Built by this repository's CI on the tag itself. Each archive ships a
CycloneDX SBOM, `checksums.txt` carries a keyless cosign signature, and
every file has SLSA build provenance — see the README's "Verify a
download" for the two commands that check them.

The commits in this release:

## Changelog
* 5cffc85bf3773457fa40b6e4f7331e3e2c8d45b9 Bump tui-kit to v0.3.0 (#15)
* 541da53892282b130a36d7054a35bb443376c5e4 Re-render the README frames on the companions build (#14)

v0.2.0

2026-09-02
## tui-tools v0.2.0

v0.2.0

Built by this repository's CI on the tag itself. Each archive ships a
CycloneDX SBOM, `checksums.txt` carries a keyless cosign signature, and
every file has SLSA build provenance — see the README's "Verify a
download" for the two commands that check them.

The commits in this release:

## Changelog
* c25cd2e6a834404f6ae75e54d8a1c67fda22c9c2 A code of conduct that fits on one screen (#11)
* ed096cc3462b8ac4986bd8d172258b0870af400d Add --report, and a bug form that asks for it (#12)
* 65906d641b388bca2fadda50f23c65efea58ed45 Carry the OpenSSF Best Practices badge (#9)
* a5344ec3b5b5fad554ea98050ae8e558a3bde9fb Show the companions, and where each installed one came from (#13)
* bc4643d4471188e0c18a7f7180ac5ffa0eb2cb5a Take tui-kit v0.2.8: hashed pip install, provenance bundle on the release (#10)

v0.1.3

2026-08-30
## tui-tools v0.1.3

Release notes that say what changed

The release header now prints the whole tag message, so this paragraph is
the first release note a reader of the family sees on a release page.
Nothing in the launcher itself moved since v0.1.1: same dashboard, same
package, same epoch.

Built by this repository's CI on the tag itself. Each archive ships a
CycloneDX SBOM, `checksums.txt` carries a keyless cosign signature, and
every file has SLSA build provenance — see the README's "Verify a
download" for the two commands that check them.

The commits in this release:

## Changelog
* c10f83d71e7db96632ec951f8f8ab80638e9217d Print the whole tag message, not only its body (#8)