Description
RatatuiRuby is a RubyGem for building terminal user interfaces in Ruby. It wraps Ratatui, a Rust library for terminal UIs, so you get native performance while writing Ruby. There are two ways to use it. For a CLI script, you can add a spinner, a progress bar or an inline menu, drawn in a fixed number of lines that leave your terminal history intact when the script finishes. For a full screen application, the gem provides a managed loop, built-in testing and frameworks such as Rooibos and Kit for building larger apps. The site includes examples such as a spinner that shows Connecting until a condition is met, and an inline radio menu where the arrow keys select a choice and enter confirms it. The project explains why it uses Rust and Ruby together, and it compares itself with CharmRuby, another Ruby terminal library. Install it with gem install ratatui_ruby.…
Highlights
- Terminal UIs in Ruby with Rust under the hood
- Inline viewports that keep your output
- Spinners, menus and progress bars for scripts
- Full TUI apps with a managed loop
- Built-in testing
Ratings & Reviews
No ratings yet
Be the first to rate RatatuiRuby.
People also visit
RatatuiRuby FAQ
What is RatatuiRuby?
A RubyGem for building terminal user interfaces, built on the Rust library Ratatui.
How do I install it?
Run gem install ratatui_ruby. The site shows the latest release, v1.5.0.
Can I use it for small scripts?
Yes. Inline viewports let you add a spinner or menu to a CLI script without a full-screen takeover.
How is it different from CharmRuby?
The site compares the two directly, so check that comparison for the trade-offs.
What are the best RatatuiRuby alternatives?
Popular alternatives to RatatuiRuby include UI and WezTerm. See all RatatuiRuby alternatives




