with-readline
« Back to VersTracker
Description:
Allow GNU Readline to be used with arbitrary programs
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: readline cli utility wrapper editing
Install: brew install with-readline
About:
WithReadline is a wrapper utility that enables programs lacking native GNU Readline support to gain interactive command line editing, history, and tab completion capabilities. It intercepts standard input and output to inject Readline functionality without requiring source code modifications. This allows legacy or simple tools to behave like modern interactive shells.
Key Features:
  • Adds line editing and history to any program
  • Enables tab completion via Readline
  • No source code changes required
  • Simple command-line wrapper interface
Use Cases:
  • Adding interactive editing to legacy CLI tools
  • Enabling history for simple custom shells or scripts
  • Improving usability of programs with basic stdin/stdout
Alternatives:
  • rlwrap – rlwrap provides similar readline wrapping and is widely available; WithReadline offers a lightweight alternative
  • ledit – ledit is another line editor wrapper; WithReadline uses GNU Readline for more familiar editing
Version History
Detected Version Rev Change Commit
Sep 11, 2025 9:04pm 2 VERSION_BUMP fd2babb6
Dec 27, 2024 4:32pm 2 VERSION_BUMP f34aa023