Terminal.Gui 2.1.1-develop.40

This is a prerelease version of Terminal.Gui.
There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package Terminal.Gui --version 2.1.1-develop.40
                    
NuGet\Install-Package Terminal.Gui -Version 2.1.1-develop.40
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Terminal.Gui" Version="2.1.1-develop.40" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Terminal.Gui" Version="2.1.1-develop.40" />
                    
Directory.Packages.props
<PackageReference Include="Terminal.Gui" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Terminal.Gui --version 2.1.1-develop.40
                    
#r "nuget: Terminal.Gui, 2.1.1-develop.40"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Terminal.Gui@2.1.1-develop.40
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Terminal.Gui&version=2.1.1-develop.40&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Terminal.Gui&version=2.1.1-develop.40&prerelease
                    
Install as a Cake Tool

NuGet Version Bugs codecov Downloads License

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.

Version 2.0 Has Been Released

Terminal.Gui enables building sophisticated console applications with modern UIs:

  • Responsive TUI - Easy to use, innovative, layout system enables console apps as responsive as any responsive web page.
  • Performant and Scalable - Built for modern TUIs - fast, double-buffering-based rendering; Tables and Tree Views scale to infinite elements with sorting and filtering.
  • Keyboard First; Mouse First Too - Optimized for TUI experiences where the user's hands never need to leave the keyboard; full mouse support too.
  • Rich Built-in Widgets (Views) - Text editors, buttons, checkboxes, trees, tables, markdown, linear ranges, menus, selectors, and more.
  • Visualizations - Charts, graphs, progress indicators, and color pickers with TrueColor support.
  • Text Editors - Full-featured text editing with clipboard, undo/redo, and Unicode support
  • Fully Configurable - Themes, colors, key bindings, and settings are all customizable and persistable.
  • File Management - File and directory browsers with search and filtering, supporting Nerdfonts and coloring.
  • Wizards and Multi-Step Processes - Guided workflows with navigation and validation.
  • Cross-Platform - Consistent experience on Windows, macOS, and Linux.
  • Apps Work In-line or Full Screen - Build CLI tools like Claude Code/Copilot/Codex CLI that scroll with the terminal (in-line) or full screen.

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 the Examples for more.

Showcase

See the Showcase for applications built with Terminal.Gui.

Documentation

Comprehensive documentation is at gui-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

Contributing

Contributions welcome! See CONTRIBUTING.md.

History

See gui-cs for project history and origins.

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (28)

Showing the top 5 NuGet packages that depend on Terminal.Gui:

Package Downloads
HIC.RDMP.Plugin

Core package for plugin development

Carbon.Kit

Provides interfaces, abstractions and common functions which is the essence of Carbon Kit.

FluiTec.AppFx.Console

Package Description

M5x.TermUi

Package Description

Gtt.FastPass

A library to support running tests against rest APIs

GitHub repositories (23)

Showing the top 20 popular GitHub repositories that depend on Terminal.Gui:

Repository Stars
rnwood/smtp4dev
smtp4dev - the fake smtp email server for development and testing
awaescher/RepoZ
👨‍💻 A zero-conf git repository hub for Windows and macOS with Windows Explorer- & CLI-enhancements
StartupHakk/OpenMonoAgent.ai
(BETA) AI shouldn't have a meter. Unlimited tokens. Forever. Your machine. Your agent. Use it from anywhere. Terminal-native coding agent powered by local LLMs — 100% open source, free forever, and installed with a single command. Proudly built on C#/.NET, because AI tooling should be infrastructure, not a subscription.
PowerShell/ConsoleGuiTools
Modules that mix PowerShell and GUIs/CUIs!
paillave/Etl.Net
Mass processing data with a complete ETL for .net developers
bjorkstromm/depends
Tool for generating dependency trees for .NET projects
Krypton-Suite/Standard-Toolkit
An update to Component factory's krypton toolkit to support .NET Framework 4.6.2 - 4.8.1 to .NET 8 - 10
gui-cs/TerminalGuiDesigner
Forms Designer for Terminal.Gui (aka gui.cs)
NicolasConstant/BirdsiteLive
An ethical bridge from Twitter
YSGStudyHards/DotNetExercises
⚔【DotNetGuide专栏C#/.NET/.NET Core编程技巧练习集】C#/.NET/.NET Core编程常用语法、算法、技巧、中间件、类库、工作业务实操练习集,配套详细的文章教程和代码示例,助力快速掌握C#/.NET/.NET Core中各种编程常用语法、算法、技巧、中间件、类库、工作业务实操等等。
CCob/Volumiser
Texnomic/SecureDNS
Secure, Modern, Fully-Featured, All-In-One Cross-Architecture & Cross-Platform DNS Server Using .NET 10
PKISharp/ACMESharpCore
An ACME v2 client library for .NET Standard (Let's Encrypt)
ironmansoftware/psedit
A terminal-based editor for PowerShell
nockawa/Typhon
A microsecond-latency ACID database engine with a native Entity-Component-System data model, built for real-time systems.
reactiveui/ReactiveMvvm
Cross-platform ReactiveUI sample app built for a talk at MSK .NET conf.
migueldeicaza/XtermSharp
XTerm emulator as a .NET library
timkicker/podliner
Podcasts in any terminal. Fast, clean, offline.
mbbsemu/MBBSEmu
The MajorBBS Emulation Project is an Open Source, Cross-Platform emulator for easily running The MajorBBS & Worldgroup Modules
Draco-lang/Compiler
The compiler repository for the Draco programming language.
Version Downloads Last Updated
2.2.1-develop.101 0 5/17/2026
2.2.0-rc.1 0 5/17/2026
2.1.1-develop.98 0 5/17/2026
2.1.1-develop.95 0 5/17/2026
2.1.1-develop.85 0 5/17/2026
2.1.1-develop.68 0 5/17/2026
2.1.1-develop.67 41 5/15/2026
2.1.1-develop.59 534 5/14/2026
2.1.1-develop.56 33 5/14/2026
2.1.1-develop.46 45 5/13/2026
2.1.1-develop.43 50 5/13/2026
2.1.1-develop.40 38 5/13/2026
2.1.0 3,640 5/8/2026
Loading failed