terminal (Windows 终端)
105,371
Stars
0
Forks
0
Watchers
0
Open Issues
未知
许可证
C++
语言
创建时间
最近更新
项目能做什么
现代化的新版 Windows Terminal,将终端工具与原生控制台整合于一体。
来源:基于仓库元数据
· 内容以仓库实际 README 为准
使用说明 查看原始 README 原仓库文档
项目简介
microsoft/terminal 是微软开源的 Windows 终端工具及控制台宿主(Windows console host)代码仓库。该仓库主要包含以下开源组件:
- Windows Terminal 及 Windows Terminal Preview
- Windows 控制台宿主程序(
conhost.exe) - 两者之间的共享组件
- 控制台颜色配置工具 ColorTool
- 演示如何使用 Windows Console API 的示例项目
核心功能
- 汇集新一代 Windows Terminal 与经典控制台宿主(
conhost.exe)的核心源代码。 - 包含终端颜色定制工具
ColorTool。 - 提供针对 Windows Console API 的调用示例工程(samples)。
(注:关于多标签页、GPU 加速渲染等具体应用特性的详细描述,原文未在此处展开,请查看原仓库及官方文档。)
适合谁用
- 需要高效命令行工作流的 Windows 个人开发者。
- 对 Windows 底层控制台机制、终端开发感兴趣的技术人员。
- 希望从源码构建终端或扩展 Windows Console API 应用的开发者。
安装步骤
系统要求:需要 Windows 10 2004(build 19041)或更高版本。
1. Microsoft Store 安装(官方推荐)
通过 Microsoft Store 搜索并安装 Windows Terminal。此方式支持自动更新,始终保持最新版本。
2. 通过 GitHub Releases 手动安装
无法访问 Microsoft Store 的用户可在仓库的 Releases 页面手动下载:
- 在 Assets 中下载
Microsoft.WindowsTerminal_<versionNumber>.msixbundle文件。 - 双击
.msixbundle文件,安装程序会自动运行。 - 若安装失败,可在 PowerShell 中运行以下命令安装:
# 如果使用的是 PowerShell 7+,请在执行 Add-AppxPackage 之前先运行:
# Import-Module Appx -UseWindowsPowerShell
Add-AppxPackage Microsoft.WindowsTerminal_<versionNumber>.msixbundle
注意: * 手动安装可能需要额外安装 VC++ v14 Desktop Framework Package(通常仅在较旧的 Windows 10 提示缺少框架时需要)。 * 手动安装不会自动升级,后续更新需重复手动安装步骤。
3. 通过 Windows Package Manager (winget)
使用最新版本的 winget 命令行安装(建议使用 winget 1.6.2631 或更高版本):
winget install --id Microsoft.WindowsTerminal -e
4. 通过 Chocolatey 安装(非官方)
安装:
choco install microsoft-windows-terminal
后续更新:
choco upgrade microsoft-windows-terminal
5. 通过 Scoop 安装(非官方)
(注:README 原文在 Scoop 章节处被截断,详细命令请查看原仓库。)
配置说明
此部分原文未说明,请查看原仓库及 Windows Terminal 官方文档。
常见问题
- 从源码编译运行后,界面看起来和旧版控制台一模一样?
(注:该问题在 README 目录中有所列出,但解答正文在原文档后续部分被截断,此部分原文未说明,请查看原仓库 FAQ 章节。)
原始 README 摘录(英文原文,节选前 3000 字符)

[](https://dev.azure.com/shine-oss/terminal/_build/latest?definitionId=1&branchName=main)
# Welcome to the Windows Terminal, Console and Command-Line repo
<details>
<summary><strong>Table of Contents</strong></summary>
- [Installing and running Windows Terminal](#installing-and-running-windows-terminal)
- [Microsoft Store \[Recommended\]](#microsoft-store-recommended)
- [Other install methods](#other-install-methods)
- [Via GitHub](#via-github)
- [Via Windows Package Manager CLI (aka winget)](#via-windows-package-manager-cli-aka-winget)
- [Via Chocolatey (unofficial)](#via-chocolatey-unofficial)
- [Via Scoop (unofficial)](#via-scoop-unofficial)
- [Installing Windows Terminal Canary](#installing-windows-terminal-canary)
- [Terminal \& Console Overview](#terminal--console-overview)
- [Windows Terminal](#windows-terminal)
- [The Windows Console Host](#the-windows-console-host)
- [Shared Components](#shared-components)
- [Creating the new Windows Terminal](#creating-the-new-windows-terminal)
- [Resources](#resources)
- [FAQ](#faq)
- [I built and ran the new Terminal, but it looks just like the old console](#i-built-and-ran-the-new-terminal-but-it-looks-just-like-the-old-console)
- [Documentation](#documentation)
- [Contributing](#contributing)
- [Communicating with the Team](#communicating-with-the-team)
- [Developer Guidance](#developer-guidance)
- [Prerequisites](#prerequisites)
- [Building the Code](#building-the-code)
- [Building in PowerShell](#building-in-powershell)
- [Building in Cmd](#building-in-cmd)
- [Running \& Debugging](#running--debugging)
- [Coding Guidance](#coding-guidance)
- [Code of Conduct](#code-of-conduct)
</details>
<br />
This repository contains the source code for:
* [Windows Terminal](https://aka.ms/terminal)
* [Windows Terminal Preview](https://aka.ms/terminal-preview)
* The Windows console host (`conhost.exe`)
* Components shared between the two projects
* [ColorTool](./src/tools/ColorTool)
* [Sample projects](./samples)
that show how to consume the Windows Console APIs
Related repositories include:
* [Windows Terminal Documentation](https://learn.microsoft.com/windows/terminal)
([Repo: Contribute to the docs](https://github.com/MicrosoftDocs/terminal))
* [Console API Documentation](https://github.com/MicrosoftDocs/Console-Docs)
* [Cascadia Code Font](https://github.com/Microsoft/Cascadia-Code)
## Installing and running Windows Terminal
> [!NOTE]
> Windows Terminal requires Windows 10 2004 (build 19041) or later
### Microsoft Store [Recommended]
Install the [Windows Terminal from the Microsoft Store][store-install-link].
This allows you to always be on the latest version when we release new builds
with autom
阅读完整原文
商业机会分析 规则生成(AI 未配置)
综合评分 54.0 分。该项目在“个人可实施性”维度得 30 分,“付费可能性”维度得 40.0 分,差异化空间 70.0 分(评分依据见评分卡)。
将 terminal 改造为垂直场景 SaaS
| 产品构想 | 保留核心能力,针对某一类用户(如某行业团队)做托管版,收取月费。 |
| 目标用户 | 有该需求的中小团队 / 独立站长 |
| 难度/周期 | 较高 · 2~4 周(MVP) |
| 收费模式 | 订阅制(如 ¥29~99/月) |
| 竞争风险 | 需验证付费意愿;注意许可证合规 |
| 依据 | 数据支持的判断:许可证与关键词显示存在商用与付费场景 |
面向细分需求的二次开发产品
| 产品构想 | 基于 terminal 的核心能力,聚焦一个更窄的场景(如某平台、某行业)做差异化。 |
| 目标用户 | 该细分场景用户 |
| 难度/周期 | 中 · 2~6 周 |
| 收费模式 | 买断制 / 订阅制 / 广告 |
| 竞争风险 | 细分需求规模需验证 |
| 依据 | AI 推测:基于项目主题标签的判断 |
以上为规则引擎基于仓库公开数据生成的参考结论,包含推测成分,不构成投资或创业承诺;配置 AI 后可获得更深入的分析。
报告会保存到 个人中心
竞品与相似项目 GitHub Search 真实检索
| 项目 | 中文简介 | Stars | 语言 |
|---|---|---|---|
| kingToolbox/WindTerm | 中文介绍暂未生成 A professional cross-platform SSH/Sftp/Shell/Telnet/Tmux/Ser |
32,648 | C |
| cmderdev/cmder | 中文介绍暂未生成 Lovely console emulator package for Windows |
27,007 | PowerShell |
| JanDeDobbeleer/oh-my-posh | 中文介绍暂未生成 The most customisable and low-latency cross platform/shell p |
23,740 | Go |
| wasp-lang/open-saas | 中文介绍暂未生成 A 100% free modern JS SaaS boilerplate (React, NodeJS, Prism |
16,292 | MDX |
| sqshq/sampler | 中文介绍暂未生成 Tool for shell commands execution, visualization and alertin |
14,813 | Go |
| Piebald-AI/claude-code-system-prompts | 中文介绍暂未生成 All parts of Claude Code's system prompt, 27 builtin tool de |
13,126 | JavaScript |
以上为通过 GitHub 官方 Search API 检索的相似项目,功能差异与优劣势需进一步人工确认,配置 AI 后可生成对比分析。
项目优势与风险
| 技术成熟度 | 创建于 ,最近推送 ,发布过 100 个 Release |
| 社区活跃 | Star 105,371 / Fork 0 / Issue 0(数据支持,可自行核实) |
| 许可证 | 未检测到(需人工确认) |
| 主要风险 | 上游项目方向可能变化;同赛道竞争者较多(见竞品表);热度与需求不完全等价 |
安装与使用
快速开始(以仓库 README 为准)
git clone https://github.com/microsoft/terminal.git cd terminal # 请阅读仓库 README 获取确切安装步骤(依赖、配置、启动命令)
术语说明:Docker=应用容器(把程序和依赖打包运行);API Key=调用外部服务的密钥;Git Clone=把仓库代码下载到本地。常见错误:API Key 未配置 / 端口占用 / 数据库连接失败,多数项目在 README 的 Troubleshooting 章节有说明。