The new Windows Terminal, and the original Windows console host - all in the same place!
To upgrade Windows Terminal using Chocolatey, run the following:
If you have any issues when installing/upgrading the package please go to the Windows Terminal package page and follow the Chocolatey triage process
The Terminal will also need to meet our goals and measures to ensure it remains fast and efficient, and doesn't consume vast amounts of memory or power.
Since taking ownership of the Windows command-line in 2014, the team added several new features to the Console, including background transparency, line-based selection, support for ANSI / Virtual Terminal sequences, 24-bit color, a Pseudoconsole ("ConPTY"), and more.
However, because Windows Console's primary goal is to maintain backward compatibility, we have been unable to add many of the features the community (and the team) have been wanting for the last several years including tabs, unicode text, and emoji.
These limitations led us to create the new Windows Terminal.
This overhaul resulted in several of Console's key components being available for re-use in any terminal implementation on Windows. These components include a new DirectWrite-based text layout and rendering engine, a text buffer capable of storing both UTF-16 and UTF-8, a VT parser/emitter, and more.
The result of this work is contained within this repo and delivered as the Windows Terminal application you can download from the Microsoft Store, or directly from this repo's releases.
Solution: Make sure you're building & deploying the
from https://github.com/microsoft/terminal
Welcome to the Windows Terminal
This repository contains the source code for:- Windows Terminal
- The Windows console host (
conhost.exe
) - Components shared between the two projects
- ColorTool
- Sample projects that show how to consume the Windows Console APIs
Installing & running Windows Terminal
👉 Note: Windows Terminal requires Windows 10 1903 (build 18362) or later
Manually install builds from this repository
For users who are unable to install Terminal from the Microsoft Store, Terminal builds can be manually downloaded from this repository's Releases page.⚠ Note: If you install Terminal manually:
- Be sure to install the Desktop Bridge VC++ v14 Redistributable Package otherwise Terminal may not install and/or run and may crash at startup
- Terminal will not auto-update when new builds are released so you will need to regularly install the latest Terminal release to receive all the latest fixes and improvements!
Install via Chocolatey (unofficial)
Chocolatey users can download and install the latest Terminal release by installing themicrosoft-windows-terminal
package:choco install microsoft-windows-terminal
choco upgrade microsoft-windows-terminal
Project Build Status
Project | Build Status |
---|---|
Terminal | |
ColorTool |
Windows Terminal v1.0 Roadmap
The plan for delivering Windows Terminal v1.0 is described here, and will be updated as the project proceeds.Terminal & Console Overview
Please take a few minutes to review the overview below before diving into the code:Windows Terminal
Windows Terminal is a new, modern, feature-rich, productive terminal application for command-line users. It includes many of the features most frequently requested by the Windows command-line community including support for tabs, rich text, globalization, configurability, theming & styling, and more.The Terminal will also need to meet our goals and measures to ensure it remains fast and efficient, and doesn't consume vast amounts of memory or power.
The Windows Console Host
The Windows Console host,conhost.exe
, is Windows'
original command-line user experience. It also hosts Windows'
command-line infrastructure and the Windows Console API server, input
engine, rendering engine, user preferences, etc. The console host code
in this repository is the actual source from which the conhost.exe
in Windows itself is built.Since taking ownership of the Windows command-line in 2014, the team added several new features to the Console, including background transparency, line-based selection, support for ANSI / Virtual Terminal sequences, 24-bit color, a Pseudoconsole ("ConPTY"), and more.
However, because Windows Console's primary goal is to maintain backward compatibility, we have been unable to add many of the features the community (and the team) have been wanting for the last several years including tabs, unicode text, and emoji.
These limitations led us to create the new Windows Terminal.
You can read more about the evolution of the command-line in general, and the Windows command-line specifically in this accompanying series of blog posts on the Command-Line team's blog.
Shared Components
While overhauling Windows Console, we modernized its codebase considerably, cleanly separating logical entities into modules and classes, introduced some key extensibility points, replaced several old, home-grown collections and containers with safer, more efficient STL containers, and made the code simpler and safer by using Microsoft's Windows Implementation Libraries - WIL.This overhaul resulted in several of Console's key components being available for re-use in any terminal implementation on Windows. These components include a new DirectWrite-based text layout and rendering engine, a text buffer capable of storing both UTF-16 and UTF-8, a VT parser/emitter, and more.
Creating the new Windows Terminal
When we started planning the new Windows Terminal application, we explored and evaluated several approaches and technology stacks. We ultimately decided that our goals would be best met by continuing our investment in our C++ codebase, which would allow us to reuse several of the aforementioned modernized components in both the existing Console and the new Terminal. Further, we realized that this would allow us to build much of the Terminal's core itself as a reusable UI control that others can incorporate into their own applications.The result of this work is contained within this repo and delivered as the Windows Terminal application you can download from the Microsoft Store, or directly from this repo's releases.
Resources
For more information about Windows Terminal, you may find some of these resources useful and interesting:- Command-Line Blog
- Command-Line Backgrounder Blog Series
- Windows Terminal Launch: Terminal "Sizzle Video"
- Windows Terminal Launch: Build 2019 Session
- Run As Radio: Show 645 - Windows Terminal with Richard Turner
- Azure Devops Podcast: Episode 54 - Kayla Cinnamon and Rich Turner on DevOps on the Windows Terminal
FAQ
I built and ran the new Terminal, but it looks just like the old console
Cause: You're launching the incorrect solution in Visual Studio.Solution: Make sure you're building & deploying the
CascadiaPackage
project in Visual Studio.⚠ Note:OpenConsole.exe
is just a locally-builtconhost.exe
, the classic Windows Console that hosts Windows' command-line infrastructure. OpenConsole is used by Windows Terminal to connect to and communicate with command-line applications (via ConPty).
Documentation
All project documentation is located in the./doc
folder.from https://github.com/microsoft/terminal
(https://github.com/microsoft/terminal/releases/download/v1.18.1462.0/Microsoft.WindowsTerminalPreview_1.18.1462.0_x64.zip)
----------------------------------------------------
Windows Terminal 命令行终端工具 - 微软引诱开发高手们叛逃 Mac 的利器
Windows Terminal 是微软为 Win 10 操作系统打造的全新且超级强大的命令行终端工具。这款命令行原生支持 PowerShell、CMD 以及 WSL (Windows 内置 Linux 子系统) 。一经发布便就冲上 GitHub 开源榜单的前列,甚至被网友夸张地称它“引诱开发者们叛逃 Mac”……
「更新:Windows Terminal 1.0 正式版已发布」
Windows Terminal 包含程序员社区里很多呼声很高的特性,比如:多标签页支持、富文本、多语言支持、窗口分割、可配置、主题和样式,支持 emoji 和基于 GPU 显卡加速的文本渲染等等。不仅功能十分强大、开源、免费,重点是它的颜值还相当的高。
除了这款全新的命令行工具之外,微软同时还发布了完整内核的 Linux 子系统 WSL 2 (Windows Subsystem for Linux 2),可以不需要虚拟机直接在 Win 系统里内置并运行 Linux 系统,让用户能直接使用众多现有的极为成熟和完整的 Linux 应用和工具库。
可以说,Windows Terminal + WSL 2 当真是直击开发者们的 G 点。加上早前微软收购 GitHub 并免费、免费的 VS Code 编辑器的不断优化更新,未来在 Windows PC 上也能跟 Linux 或 macOS 一样轻松地做各种开发了。
如今,你可以直接在 Windows 应用商店中下载到可以在 Windows 10 里运行的 Ubuntu、CentOS、Fedora、SUSE Linux、Arch 等 Linux 子系统。
总结:
长期以来,由于 Linux 和 Mac 系统原生自带功强大的命令行工具,配套开发用的工具链也比较全面和成熟,因此很多开发者都会将 macOS 或 Linux 作为主力。
而现在,Windows Terminal 工具 + WSL 的出现,毫无疑问可以极大地提高开发者、编程爱好者、技术型用户的生产力,同时也进一步缩小很多程序员将 macOS 作为开发主力平台首选的差距。嗯,咱们是该再次投入微软的怀抱了吗?
Windows Terminal 是微软为 Win 10 操作系统打造的全新且超级强大的命令行终端工具。这款命令行原生支持 PowerShell、CMD 以及 WSL (Windows 内置 Linux 子系统) 。一经发布便就冲上 GitHub 开源榜单的前列,甚至被网友夸张地称它“引诱开发者们叛逃 Mac”……
「更新:Windows Terminal 1.0 正式版已发布」
Windows Terminal 包含程序员社区里很多呼声很高的特性,比如:多标签页支持、富文本、多语言支持、窗口分割、可配置、主题和样式,支持 emoji 和基于 GPU 显卡加速的文本渲染等等。不仅功能十分强大、开源、免费,重点是它的颜值还相当的高。
除了这款全新的命令行工具之外,微软同时还发布了完整内核的 Linux 子系统 WSL 2 (Windows Subsystem for Linux 2),可以不需要虚拟机直接在 Win 系统里内置并运行 Linux 系统,让用户能直接使用众多现有的极为成熟和完整的 Linux 应用和工具库。
可以说,Windows Terminal + WSL 2 当真是直击开发者们的 G 点。加上早前微软收购 GitHub 并免费、免费的 VS Code 编辑器的不断优化更新,未来在 Windows PC 上也能跟 Linux 或 macOS 一样轻松地做各种开发了。
如今,你可以直接在 Windows 应用商店中下载到可以在 Windows 10 里运行的 Ubuntu、CentOS、Fedora、SUSE Linux、Arch 等 Linux 子系统。
总结:
长期以来,由于 Linux 和 Mac 系统原生自带功强大的命令行工具,配套开发用的工具链也比较全面和成熟,因此很多开发者都会将 macOS 或 Linux 作为主力。
而现在,Windows Terminal 工具 + WSL 的出现,毫无疑问可以极大地提高开发者、编程爱好者、技术型用户的生产力,同时也进一步缩小很多程序员将 macOS 作为开发主力平台首选的差距。嗯,咱们是该再次投入微软的怀抱了吗?