Terminal.Gui
2.0.0-develop.4839
dotnet add package Terminal.Gui --version 2.0.0-develop.4839
NuGet\Install-Package Terminal.Gui -Version 2.0.0-develop.4839
<PackageReference Include="Terminal.Gui" Version="2.0.0-develop.4839" />
<PackageVersion Include="Terminal.Gui" Version="2.0.0-develop.4839" />
<PackageReference Include="Terminal.Gui" />
paket add Terminal.Gui --version 2.0.0-develop.4839
#r "nuget: Terminal.Gui, 2.0.0-develop.4839"
#:package Terminal.Gui@2.0.0-develop.4839
#addin nuget:?package=Terminal.Gui&version=2.0.0-develop.4839&prerelease
#tool nuget:?package=Terminal.Gui&version=2.0.0-develop.4839&prerelease
Terminal.Gui v2
Cross-platform UI toolkit for building sophisticated terminal UI (TUI) applications on Windows, macOS, and Linux/Unix.
- v2 Alpha (Current):
- Recommended for new projects
- v1 (Legacy):
- Maintenance mode only
Important:
- v1 is in maintenance mode - only critical bug fixes accepted
- v2 Alpha is recommended for new projects - API is stable with comprehensive features
- Breaking changes possible before Beta, but core architecture is solid
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 directory for more.
Build Powerful Terminal Applications
Terminal.Gui enables building sophisticated console applications with modern UIs:
- Rich Forms and Dialogs - Text fields, buttons, checkboxes, radio buttons, and data validation
- Interactive Data Views - Tables, lists, and trees with sorting, filtering, and in-place editing
- Visualizations - Charts, graphs, progress indicators, and color pickers with TrueColor support
- Text Editors - Full-featured text editing with clipboard, undo/redo, and Unicode support
- File Management - File and directory browsers with search and filtering
- Wizards and Multi-Step Processes - Guided workflows with navigation and validation
- System Monitoring Tools - Real-time dashboards with scrollable, resizable views
- Configuration UIs - Settings editors with persistent themes and user preferences
- Cross-Platform CLI Tools - Consistent experience on Windows, macOS, and Linux
- Server Management Interfaces - SSH-compatible UIs for remote administration
See the Views Overview for available controls and What's New in v2 for architectural improvements.
Documentation
Comprehensive documentation is at gui-cs.github.io/Terminal.Gui.
Getting Started
- Getting Started Guide - First Terminal.Gui application
- API Reference - Complete API documentation
- What's New in v2 - New features and improvements
Migration & Deep Dives
- Migrating from v1 to v2 - Complete migration guide
- Application Architecture - Instance-based model and IRunnable pattern
- Layout System - Positioning, sizing, and adornments
- Keyboard Handling - Key bindings and commands
- View Documentation - View hierarchy and lifecycle
- Configuration - Themes and persistent settings
See the documentation index for all topics.
Installing
v2 Alpha (Recommended)
dotnet add package Terminal.Gui --version "2.0.0-alpha.*"
v2 Develop (Latest)
dotnet add package Terminal.Gui --version "2.0.0-develop.*"
Or use the Terminal.Gui.Templates:
dotnet new install Terminal.Gui.Templates
v1 Legacy
dotnet add package Terminal.Gui --version "1.*"
Contributing
Contributions welcome! See CONTRIBUTING.md.
History
See gui-cs for project history and origins.
| Product | Versions 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. |
-
net10.0
- ColorHelper (>= 1.8.1 && < 2.0.0)
- JetBrains.Annotations (>= 2025.2.2)
- Microsoft.Extensions.Logging.Abstractions (>= 9.0.0)
- System.IO.Abstractions (>= 22.0.16 && < 23.0.0)
- Wcwidth (>= 4.0.0)
NuGet packages (26)
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 (18)
Showing the top 18 popular GitHub repositories that depend on Terminal.Gui:
| Repository | Stars |
|---|---|
|
awaescher/RepoZ
👨💻 A zero-conf git repository hub for Windows and macOS with Windows Explorer- & CLI-enhancements
|
|
|
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
|
|
|
gui-cs/TerminalGuiDesigner
Forms Designer for Terminal.Gui (aka gui.cs)
|
|
|
NicolasConstant/BirdsiteLive
An ethical bridge from Twitter
|
|
|
CCob/Volumiser
|
|
|
YSGStudyHards/DotNetExercises
⚔【DotNetGuide专栏C#/.NET/.NET Core编程技巧练习集】C#/.NET/.NET Core编程常用语法、算法、技巧、中间件、类库、工作业务实操练习集,配套详细的文章教程和代码示例,助力快速掌握C#/.NET/.NET Core中各种编程常用语法、算法、技巧、中间件、类库、工作业务实操等等。
|
|
|
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
|
|
|
reactiveui/ReactiveMvvm
Cross-platform ReactiveUI sample app built for a talk at MSK .NET conf.
|
|
|
migueldeicaza/XtermSharp
XTerm emulator as a .NET library
|
|
|
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.
|
|
|
timkicker/podliner
Podcasts in any terminal. Fast, clean, offline.
|
|
|
henrikstengaard/hstwb-installer
A set of scripts to automate installation of Amiga OS, Kickstart roms and packages to new or existing Amiga HDF files
|
|
|
NethermindEth/dotnet-libp2p
A libp2p implementation for .NET in C#.
|
| Version | Downloads | Last Updated |
|---|---|---|
| 2.0.0-develop.4839 | 31 | 1/22/2026 |
| 2.0.0-develop.4838 | 43 | 1/22/2026 |
| 2.0.0-develop.4837 | 30 | 1/21/2026 |
| 2.0.0-develop.4836 | 26 | 1/21/2026 |
| 2.0.0-develop.4835 | 25 | 1/21/2026 |
| 2.0.0-develop.4834 | 27 | 1/21/2026 |
| 2.0.0-develop.4833 | 29 | 1/21/2026 |
| 2.0.0-develop.4832 | 26 | 1/21/2026 |
| 2.0.0-develop.4831 | 54 | 1/20/2026 |
| 2.0.0-develop.4830 | 32 | 1/20/2026 |
| 2.0.0-develop.4829 | 53 | 1/19/2026 |
| 2.0.0-develop.4828 | 99 | 1/17/2026 |
| 2.0.0-develop.4827 | 61 | 1/16/2026 |
| 2.0.0-develop.4826 | 41 | 1/15/2026 |
| 2.0.0-develop.4825 | 45 | 1/15/2026 |
| 2.0.0-develop.4824 | 49 | 1/15/2026 |
| 2.0.0-develop.4819 | 43 | 1/15/2026 |
| 2.0.0-develop.4807 | 49 | 1/14/2026 |
| 2.0.0-develop.4797 | 79 | 1/13/2026 |
| 2.0.0-develop.4796 | 48 | 1/13/2026 |
| 2.0.0-develop.4795 | 46 | 1/13/2026 |
| 2.0.0-develop.4793 | 53 | 1/13/2026 |
| 2.0.0-develop.4792 | 48 | 1/13/2026 |
| 2.0.0-develop.4791 | 46 | 1/13/2026 |
| 2.0.0-develop.4789 | 47 | 1/12/2026 |
| 2.0.0-develop.4766 | 94 | 1/12/2026 |
| 2.0.0-alpha.4031 | 54 | 1/16/2026 |
| 2.0.0-alpha.3990 | 54 | 1/12/2026 |
| 1.20.0-develop.4 | 336 | 6/12/2025 |
| 1.19.0 | 36,103 | 6/12/2025 |
| 1.18.1 | 10,636 | 4/24/2025 |
| 1.18.0 | 7,077 | 3/16/2025 |
| 1.17.1 | 98,405 | 7/11/2024 |
| 1.16.0 | 51,443 | 3/16/2024 |
| 1.15.1 | 47,143 | 1/22/2024 |
| 1.14.1 | 65,209 | 10/30/2023 |
| 1.13.4 | 1,741 | 7/19/2023 |
| 1.7.1 | 1,647 | 8/1/2022 |
| 1.6.3 | 1,387 | 5/27/2022 |
| 1.2.0 | 1,991 | 8/24/2021 |
| 1.1.0 | 891 | 5/16/2021 |