# Terminal-Gui **Repository Path**: mirrors/Terminal-Gui ## Basic Information - **Project Name**: Terminal-Gui - **Description**: Terminal.Gui 是适用于 .NET 的跨平台终端 UI 工具包 - **Primary Language**: JavaScript - **License**: MIT - **Default Branch**: v2_develop - **Homepage**: https://www.oschina.net/p/terminal-gui - **GVP Project**: No ## Statistics - **Stars**: 19 - **Forks**: 5 - **Created**: 2022-09-20 - **Last Updated**: 2025-09-20 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ![.NET Core](https://github.com/gui-cs/Terminal.Gui/workflows/.NET%20Core/badge.svg?branch=develop) [![Version](https://img.shields.io/nuget/v/Terminal.Gui.svg)](https://www.nuget.org/packages/Terminal.Gui) ![Code Coverage](https://img.shields.io/endpoint?url=https://gist.githubusercontent.com/migueldeicaza/90ef67a684cb71db1817921a970f8d27/raw/code-coverage.json) [![Downloads](https://img.shields.io/nuget/dt/Terminal.Gui)](https://www.nuget.org/packages/Terminal.Gui) [![License](https://img.shields.io/github/license/gui-cs/gui.cs.svg)](LICENSE) ![Bugs](https://img.shields.io/github/issues/gui-cs/gui.cs/bug) # Terminal.Gui v2 The premier toolkit for building rich console apps for Windows, the Mac, and Linux/Unix. ![logo](docfx/images/logo.png) * The current, stable, release of Terminal.Gui v1 is [![Version](https://img.shields.io/nuget/v/Terminal.Gui.svg)](https://www.nuget.org/packages/Terminal.Gui). > :warning: **Note:** > `v1` is in maintenance mode and we will only accept PRs for issues impacting existing functionality. * The current `Alpha` release of Terminal.Gui v2 is ![NuGet Version](https://img.shields.io/nuget/vpre/Terminal.Gui) > :warning: **Note:** > Developers starting new TUI projects are encouraged to target `v2 Alpha`. The API is significantly changed, and significantly improved. There will be breaking changes in the API before Beta, but the core API is stable. ![Sample app](docfx/images/sample.gif) # Quick Start Paste these commands into your favorite terminal on Windows, Mac, or Linux. This will install the [Terminal.Gui.Templates](https://github.com/gui-cs/Terminal.Gui.templates), create a new "Hello World" TUI app, and run it. (Press `CTRL-Q` to exit the app) ```powershell dotnet new --install Terminal.Gui.templates dotnet new tui -n myproj cd myproj dotnet run ``` To run the UICatalog demo app that shows all the controls and features of the toolkit, use the following command: ```powershell dotnet run --project Examples/UICatalog/UICatalog.csproj ``` There is also a [visual designer](https://github.com/gui-cs/TerminalGuiDesigner) (uses Terminal.Gui itself). # Documentation The full developer documentation for Terminal.Gui is available at [gui-cs.github.io/Terminal.Gui](https://gui-cs.github.io/Terminal.Gui). ## Getting Started - [Getting Started](https://gui-cs.github.io/Terminal.Gui/docs/getting-started) - Quick start guide to create your first Terminal.Gui application - [Migrating from v1 to v2](https://gui-cs.github.io/Terminal.Gui/docs/migratingfromv1) - Complete guide for upgrading existing applications - [What's New in v2](https://gui-cs.github.io/Terminal.Gui/docs/newinv2) - Overview of new features and improvements ## API Reference For detailed API documentation, see the [API Reference](https://gui-cs.github.io/Terminal.Gui/api/Terminal.Gui.App.html). # Installing Use NuGet to install the `Terminal.Gui` NuGet package: ## v2 Alpha (Infrequently updated, but stable enough for production use) ``` dotnet add package Terminal.Gui --version "2.0.0-alpha.*" ``` ## v2 Develop (Frequently updated, but may have breaking changes) ``` dotnet add package Terminal.Gui --version "2.0.0-develop.*" ``` ## Legacy v1 ``` dotnet add package Terminal.Gui --version "1.* ``` Or, you can use the [Terminal.Gui.Templates](https://github.com/gui-cs/Terminal.Gui.templates). # Contributing See [CONTRIBUTING.md](./CONTRIBUTING.md). Debates on architecture and design can be found in Issues tagged with [design](https://github.com/gui-cs/Terminal.Gui/issues?q=is%3Aopen+is%3Aissue+label%3Av2+label%3Adesign). # History See [gui-cs](https://github.com/gui-cs/) for how this project came to be.