Topic

CLI

CLI tooling news covering command-line utilities, developer tool creation, and terminal productivity tips from Hacker News and Lobsters.

What this topic tracks

  • Developer tool releases and ecosystem updates
  • Workflow automation and productivity practices
  • Practical setup, debugging, and integration lessons

CLI · 326 stories

Recent stories

Each story's summary, with the places it was discussed.

Summaries are written by AI from the linked sources. Open the source for full context.

20 stories

RFC8950: Announce IPv4 with an IPv6 next-hop

anuragbhatia.com · 16 Oct

CLI

RFC8950 enables IPv4 routes to use IPv6 next-hops over MP-BGP, allowing IPv4 traffic to traverse IPv6-only network segments without tunnels or data-plane translation.

IPv4 remains on the wire, while IPv6 provides control-plane reachability and NDP resolves the MAC. Use cases include IPv6-only provider cores, transit backbones, and IXPs. A Container Lab with FRR routers demonstrated C1-to-C2 IPv4 connectivity across R1-R2-R3, and support exists across major platforms.

rcalixte/ncdu

github.com · 4 Oct

CLI · TUI

ncdu-zig is an updated Zig implementation of Ncdu, a fast, simple ncurses disk-usage analyzer for finding space-consuming files on remote servers or desktop systems without a graphical environment.

It targets minimal POSIX-like systems and distinguishes itself as the 2.x Zig implementation, contrasted with the original C 1.x version. It requires Zig 0.17, ncurses, libzstd, and a POSIX-like OS.

ChiPass Release 2026.09.0

codeberg.org · 11 Sept

CLI · Git

The excerpt is a fragmented collection of Git documentation and error text.

It references editor precedence ($EDITOR and $VISUAL), includeIf configuration sections, pruning remote references, pull refusal behavior, customized remote colors, index updates, and a 403 Forbidden response associated with git range-diff or a related invocation.

zopt: low-ceremony command line parsing for Zig

codeberg.org · 5 Sept

CLI · Programming Languages · Terminal

zopt is a lightweight Zig command-line argument parser using lazy, schema-on-read semantics: it scans argv only when queried.

It supports short and long flags, typed and repeatable options, defaults, unknown-argument detection, and positional arguments. As a thin wrapper around std.process.Args, it favors simplicity for small tools over schema validation and built-in help handling.

kitty 0.50.0

sw.kovidgoyal.net · 3 Nov

CLI · Terminal

kitty 0.50.0 adds docked windows, session restoration after logout, and named-workspace workflows for tabs.

It improves Wayland with native GNOME decorations and touchscreen support, expands custom shaders and the Graphics protocol, adds Program Status Protocol reporting and automatic color-theme handling, and refines layouts, resizing, input, sessions, and quick-access terminals. The release also delivers performance improvements and fixes numerous remote-control, terminal-emulation, platform, file-transfer, and security issues.

An old-new take on argument parsing in Rust

jmmv.dev · 31 Jul

CLI · Rust · Software Architecture

The author introduces 'getoptsargs', a small, Unix-style framework for Rust that extends the classic 'getopts' crate.

It provides an end-to-end structure for consistent command-line application development—handling metadata, options, and positional arguments—to ensure tools feel native to Unix environments without the overhead or design choices of more popular alternatives like 'clap'.

How I Got Postgres into a Single Binary

progrium.xyz · 20 Nov

CLI · Database · PostgreSQL

miniPG packages a full Postgres server and client into a single cross-platform executable that works like sqlite3: point it at a directory, run SQL, and store database files without managing a daemon.

It can also serve Postgres or launch software with matching environment variables, supporting local apps, testing, development, and agents that need Postgres features. PGlite’s single-connection limit and a slower VM approach led to Hyper9, reducing startup from 7 seconds to 800ms. miniPG targets local, single-user use, not cloud deployments.

Reinventing issue tracking: Local-first and Git-native

blog.manganin.dev · 15 Sept

CLI · Git · Software Architecture

Manganin’s devlog explores storing issue data in Git without treating it like a relational database.

In-tree files caused branch and rebasing problems; special refs improved separation but harmed local ergonomics. The final design uses a hidden sister repository with transparent issue files, cloneable separately and navigable through familiar tools such as FZF and Neovim.

Twenty-two pending curl vulnerabilities

daniel.haxx.se · 7 Oct

CLI · Cybersecurity · C

curl will release version 8.23.0 on October 14, 2026, earlier than planned, fixing 22 security vulnerabilities.

The key issue is CVE-2026-92392, curl’s second HIGH-severity CVE since 2021, whose details will remain confidential until release to protect users and infrastructure. curl will notify distros@openwall and paying support customers in advance, publish updated Rock-solid curl versions, and disclose technical details afterward.

A list of macOS defaults commands with demos

macos-defaults.com · 11 Sept

CLI · macOS · Terminal

A reference guide to macOS defaults explains how applications store preferences in domains such as NSGlobalDomain and how the defaults CLI reads, searches, types, and renames entries.

It catalogs commands for Dock, Finder, screenshots, Safari, input devices, Mission Control, and other apps, and invites GitHub contributions. Built with VitePress.

A Nix store is three functions

fzakaria.com · 11 Sept

CLI · Distributed Systems · Software Architecture

Nix binary caches require only three requests: nix-cache-info, narinfo metadata, and a compressed archive.

Because signatures validate store contents—not transport URLs—archives can be hosted on GitHub Pages, Releases, npm, Git, DNS, OCI registries, or other media. The article demonstrates publishing a complete Nix closure to npm, enabling reproducible distribution with channel-like version tags, despite duplication costs.

Pointing at the error: compiler-style diagnostics in uutils coreutils

uutils.org · 5 Sept

CLI · Linux · Terminal

uutils coreutils 0.11.0 introduces terminal-aware diagnostic reports for 28 utilities.

Instead of only showing one-line errors, parsers can echo the offending argument, mark the exact character or span with a caret, and provide syntax help. GNU compatibility is preserved for scripts, exit codes, localization, colors, and non-terminal output; UUTILS_DIAG controls rendering, and support is expanding.

a filename when none exists

daniel.haxx.se · 19 Aug

CLI · Terminal · Open Source

curl 8.10.0 improves `-O` (`--remote-name`) for URLs without filenames.

It now derives a name from the rightmost path directory, or falls back to `curl_response` when neither path nor filename exists. Query strings are ignored. Use `%{filename_effective}` to inspect the result, `-o` to choose a name, and `--no-clobber` to avoid overwriting files.

Introducing the pkg.go.dev API

go.dev · 21 May

CLI · Go · REST API

The Go team has introduced the official pkg.go.dev API to provide programmatic access to metadata for Go modules.

This move supports developers building IDE integrations, automated workflows, and AI-assisted tools. The API features a stable, stateless, GET-only architecture and is accompanied by the pkgsite-cli reference client to facilitate adoption and ecosystem integration.

Reviewing so called Pull Requests at $dayjob

rkta.de · 17 May

CLI · Git · Vim

The author critiques web-based code review interfaces, specifically Microsoft tools, for being inefficient at handling force-pushed iterations.

To maintain a high-quality review process, the author outlines a practical CLI workflow using git range-diff and Vim, which allows for locally reviewing complex commit histories and drafting detailed feedback before entering the web interface.

Brut, the Brutal Router for Unix Tools

brut.sh · 6 Oct

CLI · Shell

Brut is a single-file POSIX shell router that builds portable Unix command-line programs by dispatching arguments to executables named from the program and command.

It configures PATH, searches it with find, and supports shared helpers, error and usage handling, namespaces via symlinks, private executables, hooks, and commands written in other languages. Its bin/lib/libexec/share layout enables independently testable components without runtime dependencies beyond POSIX.1-2024 utilities, while filesystem routing adds measurable invocation overhead.

How big is a Git commit?

ratfactor.com · 11 Oct

CLI · Git

A Git commit’s size depends on file compressibility, directory-tree changes, and whether objects have been packed.

In loose-object experiments, commits added 8,709 bytes for a one-file change, 17,145 bytes for a three-byte change in a 50-file directory, 297,873 bytes for a 583,840-byte binary, and 1,622,188 bytes for a 16,415,223-byte source file. Git stores compressed commits, trees, and file contents, while packfiles later reduce cross-object redundancy.

Hongdown: An opinionated Markdown formatter in Rust

github.com · 6 Jan

CLI · Rust · Open Source

Hongdown is a specialized Markdown formatter implemented in Rust using the Comrak library.

It enforces the specific stylistic conventions of developer Hong Minhee, which are utilized across prominent projects like Fedify and LogTape. The tool provides a wide array of features, including support for Setext-style headings, specific list indentation, and the use of four tildes for code blocks. It also handles East Asian wide characters with precise column alignment. Users can integrate Hongdown via CLI, where it supports recursive directory formatting and dry-run checks, or as a Rust library. Configuration is managed through a .hongdown.toml file, allowing for granular control over line widths, list markers, and exclusion patterns, making it a robust choice for maintaining strict documentation standards.

Creating a Blog in Gemini://

brennan.day · 19 Sept

CLI · Terminal

Gemini is a minimal, TLS-based alternative Internet protocol using Gemtext instead of HTML, designed for focused, low-resource publishing.

This guide explains why to blog on Gemini, hosting platforms, capsule and gemlog organization, social interactivity via CGI and client certificates, recommended browsers and tools, and resources for communities, discovery, and self-hosting.

Flatpak from the CLI sucks

kowalski7cc.xyz · 3 Oct

CLI · Linux

Flatpak needs a simpler way to run sandboxed command-line applications.

Unlike traditional packages, Flatpak requires long `flatpak run` commands with full app IDs, and `--file-forwarding` does not handle directories or output paths well. Inspired by Windows AppExecutionAlias, the proposal adds an `export-commands` manifest key, generates PATH-visible wrapper scripts that select internal binaries and automatically forward file arguments, and provides CLI or graphical controls for enabling aliases and managing permissions.

Where it came fromLobstersHacker NewsCreate a Snapbyte.dev digest and choose CLI as one of your topics.Build your digest