Terminal.Gui README

The project's README from github.com/tui-cs/Terminal.Gui. As one markdown file: README.md.

NuGet Version Bugs codecov Downloads

Terminal.Gui

Cross-platform UI toolkit for building sophisticated terminal UI (TUI) applications on Windows, macOS, and Linux/Unix.

Terminal.Gui — cross-platform TUI toolkit for .NET. Build full-featured terminal UIs with menus, forms, tables, charts, wizards and file dialogs. +11k stars, +50 built-in views, +1.7M downloads, TrueColor with Unicode and mouse — Windows / macOS / Linux, MIT-licensed.

Terminal.Gui enables building sophisticated console applications with modern UIs

See the Views Overview for available controls and What's New in v2 for architectural improvements.

Quick Start

Install the Terminal.Gui.Templates, create a new TUI app, and run it:

dotnet new install Terminal.Gui.Templates
dotnet new tui-simple -n myproj
cd myproj
dotnet run

Run the comprehensive UI Catalog demo to explore all controls:

dotnet run --project Examples/UICatalog/UICatalog.csproj

Simple Example

using Terminal.Gui.App;
using Terminal.Gui.ViewBase;
using Terminal.Gui.Views;

using IApplication app = Application.Create ();
app.Init ();

using Window window = new () { Title = "Hello World (Esc to quit)" };
Label label = new ()
{
    Text = "Hello, Terminal.Gui v2!",
    X = Pos.Center (),
    Y = Pos.Center ()
};
window.Add (label);

app.Run (window);

See Examples/README.md for details about the in-repository examples and links to the moved examples repository.

Showcase

See the Showcase for applications built with Terminal.Gui.

Documentation

Comprehensive documentation is at tui-cs.github.io/Terminal.Gui.

Getting Started

Migration & Deep Dives

See the documentation index for all topics.

Installing

dotnet add package Terminal.Gui

Or use the Terminal.Gui.Templates:

dotnet new install Terminal.Gui.Templates

Powered by

JetBrains logo.

Contributing

Contributions welcome! See CONTRIBUTING.md.

History

See tui-cs for project history and origins.

Terminal.Gui (tui-cs/Terminal.Gui)

Searching Database…

What is this?Terminal.Gui is a cross-platform toolkit for building sophisticated terminal UI (TUI) applications on .NET, running consistently on Windows, macOS, and Linux/Unix.
Is this a framework or a library I just call into?It is a UI framework/library for .NET: you create a new app from its project template, then compose the UI from its built-in Views (widgets) and let the layout engine handle sizing and positioning.
How do I get a Terminal.Gui app running?Install the Terminal.Gui.Templates package, scaffold a new TUI app from the template, and run it; you can also run the UI Catalog demo to explore all available controls.
Do I need anything besides the .NET SDK to build with it?It's a .NET (C#) library distributed via a dotnet project template/NuGet, so you just need the .NET SDK installed; no external runtime or native dependencies are listed.
Is v2 a drop-in replacement for v1 apps?No — the README points to a dedicated migration guide for moving from v1 to v2, implying v2 introduced architectural changes (like the instance-based Application model) that aren't fully backward compatible.
Who would use this and for what kind of apps?Developers building CLI/console tools in .NET who want rich interactive UIs — e.g. in-line scrolling tools like Claude Code/Copilot/Codex CLI style apps, or full-screen terminal applications with text editors, file browsers, and wizards.
What kind of widgets come built in?Text editors, buttons, checkboxes, trees, tables, markdown rendering, menus, selectors, charts, graphs, progress indicators, color pickers with TrueColor support, and file/directory browsers with Nerd Font support.
Does it support mouse input or just keyboard?Both — it's optimized for keyboard-only workflows but also has full mouse support.
Can I customize the look and feel?Yes, themes, colors, key bindings, and settings are all fully configurable and can be persisted.
Where can I see real apps built with it?The README links to a Showcase page listing applications built with Terminal.Gui.
Creator
tui-cs
Size
195.7 MB
Stars
11.3K
Age
8y
Commits · 90 Days