terminal

microsoftMIT活跃维护

微软官方的新版 Windows Terminal 终端模拟器,同时包含原版 Windows 控制台宿主,支持多标签、GPU 加速渲染和 WSL,替代老旧的 cmd 窗口。

The new Windows Terminal and the original Windows console host, all in the same place!

v1.25.2733.0发布于 2026-10-02 20:27 UTC105,359star +24 / 7 天9,738fork同步于 2026-11-10 05:17 UTC

怎么上手

从 README 代码块原样提取,可能是其中一种安装方式
winget install --id Microsoft.WindowsTerminal -e
winget configure .config\configuration.winget
硬件要求按 README 关键词推断
支持 Apple Silicon
下载:源码 zip·GitHub Releases(安装包)本站不镜像安装包

项目说明

这个项目的说明还在生成中,先参考下面「最近发版」和 README。

最近发版

5 个版本v1.25.2733.0
  1. v1.26.2734.0Windows Terminal Preview v1.26.2734.0pre-release2026-10-02 · 2026-10-02 20:27 UTC
    查看更新说明

    We're coming out of our long Summer (northern hemisphere) hibernation to bring you a new Preview release of Windows Terminal: 1.26! We've been hard at work on the Settings page, workspaces, notifications, and general fit and finish. Lots more community contributions this time around (thank you to all of you!) and many of the bug fixes you see here have been backported to 1.25 and--in some cases--1.24!

    Features

    • This release includes our newly-redesigned settings UI! Broadly, the categories are the same, but we've given a new interface to most of our settings, simplified wording, moved things into logical groups, and more. Profiles is probably the biggest difference, where we've moved all of the profile tabs, color schemes and the Defaults section into one top-level "Profiles" area (#20232) (#20743) (#20336) (#20665) (#20200) (#20658) (#20646) (#20215) (#20199)
    • We have added early support for "workspaces," or named Terminal windows which remember what was open in them that you can close and come back to. Access Workspaces with the new icon to the left of the tab list (#20314) (#20663)
    • We now support applications emitting a notification with OSC 777 (Desktop Notification, from urxvt) and additionally support for displaying a notification when a bell is triggered. Please note that both of these behaviors are off by default, and require you to opt in to enable them. JSON settings $profile.compatibility.allowOSC777 (boolean) and $profile.bellStyle enum value notification (#20012) (#20018) (#20011) (#20064) (#20010)
    • The "confirm closing tabs" setting has been redesigned to prompt any time you are going to close more than one thing, prompt always or prompt never (#20055)

    Changes

    • wt --help will try to be more clear about how unrecognized arguments are handled (#20417) (thanks @ManyaS-Git!)
    • Duplicating a tab will now unconditionally open it to the right of the source tab (#20565) (thanks @OmarMashal0!)
    • On newer versions of Windows, Terminal will use faster APIs to query the app catalog to find fragment extensions (#20356)
    • Our build system now requires Visual Studio 2026 and Windows SDK 10.0.26100 (#20225) (#20518) (#20609)
    • Panes can no longer be reduced below 2 cells in either direction, to prevent screen corruption (#20564) (thanks @zhangxaochen!)
    • Tab Search will now "preview" which tab you are about to jump to while you're searching (#20256)
    • Terminal will now cause DWM.exe to use less memory per Terminal window! (#20655) (thanks @YexuanXiao!)
    • The "Open New Window" action has been improved to make it impervious to app execution alias failures (i.e. wt.exe being corrupted) (#20311)
    • The console will no longer emit WINDOW_EVENT events when a VT application enters or leaves the Alternate Screen Buffer (#20617)
    • The info bar exhorting you to please not disable the "Touch, Keyboard, and Handwriting Input Service" has been removed (#20633)
    • The soft reset (DECSTR) control sequence now works like xterm does when the alternate screen buffer is in use (#20032) (thanks @aarushisingh04!)
    • The support for OSC 7 which was announced in version 1.25, and then removed, has likewise been removed from 1.26
    • We are rolling out runtime changes to improve our code quality; however, that rollout is currently restricted to the Dev channel (local builds) (#20544)
    • We got rid of the "new tab" animation, as it made the application appear slower (#20543)
    • We have expanded our "built-in glyph" support to cover a large portion of the new Unicode "Symbols for Legacy Computing" block (we now cover U+1FB00 through U+1FB94, all sextants, filled triangles and trapezoids, and eighth blocks) (#20424)
    • We have laid the groundwork for "per-window settings", which in the future will allow you to specify a different theme, profile, etc. for each Window or Workspace (#20328)
    • We have made some changes under the hood to prepare for merging our "Terminal control" codebases (#2071
  2. v1.25.2733.0Windows Terminal v1.25.2733.0最新正式版2026-10-02 · 2026-10-02 20:27 UTC

    Terminal 1.25 is finally stable!

    Here are the highlights:

    • A new settings search experience! We have a lot of settings; hopefully this helps you find them.
    • A rich "actions" editor that will let you better customize how you interact with Terminal.
    • Support for the "Kitty" input protocol, for a highly opinionated way to distinguish keyboard keys and how they were pressed.
    • Window persistence with or without the scrollback history.
    • Community translations into Ukrainian and Serbian (Cyrillic).
    • The ability to configure how wide "ambiguous" Unicode characters are for improved compatibility with Chinese, Japanese and Korean console applications.

    Please see the following release notes for additional details.

    [!NOTE] This version began rolling out to the Dev, Canary and Beta Windows Insider channels when this GitHub Release was created. Other channels will be released as our reliability numbers indicate that we haven't broken anything. If you want to update to this release directly, download it below!

    Why are there so many files? How do I choose?

    Please visit our page documenting the different [Windows Terminal Distributions]!

    Here are some of the things we backported from the new 1.26 release in the Preview channel.

    Changes

    • On newer versions of Windows, Terminal will use faster APIs to query the app catalog to find fragment extensions (#20356)
    • Our build system now requires Visual Studio 2026 and Windows SDK 10.0.26100 (#20225) (#20518) (#20609)
    • Panes can no longer be reduced below 2 cells in either direction, to prevent screen corruption (#20564) (thanks @zhangxaochen!)
    • Tab Search will now "preview" which tab you are about to jump to while you're searching (#20256)
    • Terminal will now cause DWM.exe to use less memory per Terminal window! (#20655) (thanks @YexuanXiao!)
    • The "Open New Window" action has been improved to make it impervious to app execution alias failures (i.e. wt.exe being corrupted) (#20311)
    • The info bar exhorting you to please not disable the "Touch, Keyboard, and Handwriting Input Service" has been removed (#20633)
    • We got rid of the "new tab" animation, as it made the application appear slower (#20543)
    • We have expanded our "built-in glyph" support to cover a large portion of the new Unicode "Symbols for Legacy Computing" block (we now cover U+1FB00 through U+1FB94, all sextants, filled triangles and trapezoids, and eighth blocks) (#20424)
    • When you close a tab, Terminal will now unconditionally jump to the previously most recently used tab (#20272) (thanks @Anshikakalpana!)

    Bug Fixes

    • IME candidate windows will no longer be positioned incorrectly when Terminal is maximized (#20627) (thanks @9enki!)
    • Terminal will no longer send arrow key inputs (and others) in the middle of an IME composition (#20471) (thanks @sanguneo!)
    • Custom shaders which depend on the time parameter will no longer experience an early rollover (#20360) (thanks @Zish19!)
    • Media paths referring to icon resources such as foo.exe,-1 will once again work (#20572) (thanks @arista-ms!)
    • Terminal should no longer leak memory with some graphics adapters when you are scrolled back into history or experience rendering lag after the machine resumes from sleep (#20723)
    • The "Open Current Working Directory" action will no
  3. v1.24.12741.0Windows Terminal v1.24.12741.02026-10-02 · 2026-10-02 20:27 UTC
    查看更新说明

    While Terminal 1.25 is slowly rolling out (as we get new reliability info, prove it doesn't super-explode, etc.), we've decided to update 1.24 with a couple quick fixes as well to make sure you're not left out in the cold.

    Changes

    • Panes can no longer be reduced below 2 cells in either direction, to prevent screen corruption (#20564) (thanks @zhangxaochen!)
    • We got rid of the "new tab" animation, as it made the application appear slower (#20543)

    Bug Fixes

    • IME candidate windows will no longer be positioned incorrectly when Terminal is maximized (#20627) (thanks @9enki!)
    • Terminal will no longer send arrow key inputs (and others) in the middle of an IME composition (#20471) (thanks @sanguneo!)
    • Media paths referring to icon resources such as foo.exe,-1 will once again work (#20572) (thanks @arista-ms!)
    • The font face selector in the settings UI will no longer cause Terminal to undergo rapid unscheduled disassembly (#20255) (thanks @danyalahmed1995!)
      • ... it will also no longer instantly forget what you put in it (#20359) (thanks @danyalahmed1995!)
    • The JSON settings schema has been updated to include persistedLayoutAndContent as a valid option for firstWindowPreference (#20475) (thanks @doterik!)
    • We now use the most recent Azure Cloud Shell API version, which ensures that you can still access your Cloud Shells (#20620) (thanks @mbifeld!)
    • We've fixed some visual artifacts experienced by users of the "QQ Wubi" IME (#20542)

    Reliability

    • XBOX controllers will no longer cause Terminal to shuffle off this mortal coil (#20234) (thanks @phil-scott-78!)
    • We will take fewer trips to a farm upstate when you use "terminal pane" shortcuts on the Settings, Markdown or Snippets UI (#20458)
    • The experimental "reposition mouse cursor with click" settings will now result in fewer "bucket-kicking" events (#20442)

    VT Support

    • An application initiating an OSC 52 clipboard write at the same time as a title change will no longer experience a 5-second hang (#20728)

    Binary files inside the unpackaged distribution archive bear the version number 1.24.261001001.

  4. v1.25.1912.0Windows Terminal Preview v1.25.1912.0pre-release2026-07-16 · 2026-07-16 21:56 UTC
    查看更新说明

    Since we decided to push Terminal 1.26 out a little bit, please enjoy these bug fixes instead.

    Bug Fixes

    • Terminal should no longer crash when you drag a small tab into a larger window (which never crashed for some people, and always crashed for others) (#20366) (thanks @yuu61!)
    • Terminal will now make a screen reader-audible announcement when you interact with the expand/collapse option in the Settings page (#20275)
    • Pressing Enter in the Export Text dialog will no longer send Enter to the connected application (#20358)
    • Scrolling the screen should no longer result in us failing to detect URLs in it before the next refresh (#20357)
    • The compatibility.reloadEnvironmentVariables setting will no longer be ignored when you use wt.exe <command> (#20321)
    • The actions editor should now update the action name more consistently (#20381)
    • We have fixed a memory corruption issue in DRCS font handling (#20409)
    • We have speculatively moved some initialization earlier to prevent a deadlock caused by the NVIDIA graphics driver (#20351)
    • We no longer reset your font size if you zoom and we reload settings (for whatever reason) (#20230)

    Binary files inside the unpackaged distribution archive bear the version number 1.25.260710002-preview.

  5. v1.24.11911.0Windows Terminal v1.24.11911.02026-07-16 · 2026-07-16 21:56 UTC
    查看更新说明

    The stable channel just keeps getting stabler! We decided to push Terminal 1.26 out a little bit, so hopefully this set of fixes helps fill the void where it would be.

    Bug Fixes

    • Terminal should no longer crash when you drag a small tab into a larger window (which never crashed for some people, and always crashed for others) (#20366) (thanks @yuu61!)
    • Terminal will now make a screen reader-audible announcement when you interact with the expand/collapse option in the Settings page (#20275)
    • Pressing Enter in the Export Text dialog will no longer send Enter to the connected application (#20358)
    • Scrolling the screen should no longer result in us failing to detect URLs in it before the next refresh (#20357)
    • We have fixed a memory corruption issue in DRCS font handling (#20409)
    • We have speculatively moved some initialization earlier to prevent a deadlock caused by the NVIDIA graphics driver (#20351)
    • We no longer reset your font size if you zoom and we reload settings (for whatever reason) (#20230)

    Binary files inside the unpackaged distribution archive bear the version number 1.24.260710001.

用户点评

登录用户的真实使用记录,可按版本和硬件筛选
共 0 条

    还没有人点评。第一个说出真实体验的人最有价值。

    README 原文

    未翻译

    Windows Terminal project logos and branding image

    Terminal Build Status

    Welcome to the Windows Terminal, Console and Command-Line repo

    This repository contains the source code for:

    Related repositories include:

    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. This allows you to always be on the latest version when we release new builds with automatic upgrades.

    This is our preferred method.

    Other install methods

    Via GitHub

    For users who are unable to install Windows Terminal from the Microsoft Store, released builds can be manually downloaded from this repository's Releases page.

    Download the Microsoft.WindowsTerminal_<versionNumber>.msixbundle file from the Assets section. To install the app, you can simply double-click on the .msixbundle file, and the app installer should automatically run. If that fails for any reason, you can try the following command at a PowerShell prompt:

    # NOTE: If you are using PowerShell 7+, please run
    # Import-Module Appx -UseWindowsPowerShell
    # before using Add-AppxPackage.
    
    Add-AppxPackage Microsoft.WindowsTerminal_<versionNumber>.msixbundle
    

    [!NOTE] If you install Terminal manually:

    • You may need to install the VC++ v14 Desktop Framework Package. This should only be necessary on older builds of Windows 10 and only if you get an error about missing framework packages.
    • 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!
    Via Windows Package Manager CLI (aka winget)

    winget users can download and install the latest Terminal release by installing the Microsoft.WindowsTerminal package:

    winget install --id Microsoft.WindowsTerminal -e
    

    [!NOTE] Dependency support is available in WinGet version 1.6.2631 or later. To install the Terminal stable release 1.18 or later, please make sure you have the updated version of the WinGet client.

    Via Chocolatey (unofficial)

    Chocolatey users can download and install the latest Terminal release by installing the microsoft-windows-terminal package:

    choco install microsoft-windows-terminal
    

    To upgrade Windows Terminal using Chocolatey, run the following:

    choco upgrade microsoft-windows-terminal
    

    If you have any issues when installing/upgrading the package please go to the Windows Terminal package page and follow the Chocolatey triage process

    Via Scoop (unofficial)

    Scoop users can download and install the latest Terminal release by installing the windows-terminal package:

    scoop bucket add extras
    scoop install windows-terminal
    

    To update Windows Terminal using Scoop, run the following:

    scoop update windows-terminal
    

    If you have any issues when installing/updating the package, please search for or report the same on the issues page of Scoop Extras bucket repository.


    Installing Windows Terminal Canary

    Windows Terminal Canary is a nightly build of Windows Terminal. This build has the latest code from our main branch, giving you an opportunity to try features before they make it to Windows Terminal Preview.

    Windows Terminal Canary is our least stable offering, so you may discover bugs before we have had a chance to find them.

    Windows Terminal Canary is available as an App Installer distribution and a Portable ZIP distribution.

    The App Installer distribution supports automatic updates. Due to platform limitations, this installer only works on Windows 11.

    The Portable ZIP distribution is a portable application. It will not automatically update and will not automatically check for updates. This portable ZIP distribution works on Windows 10 (19041+) and Windows 11.

    DistributionArchitectureLink
    App Installerx64, arm64, x86Download
    Portable ZIPx64Download
    Portable ZIPARM64Download
    Portable ZIPx86Download

    Learn more about the types of Windows Terminal distributions.


    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:


    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-built conhost.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 at aka.ms/terminal-docs. If you would like to contribute to the documentation, please submit a pull request on the Windows Terminal Documentation repo.


    Contributing

    We are excited to work alongside you, our amazing community, to build and enhance Windows Terminal!

    BEFORE you start work on a feature/fix, please read & follow our Contributor's Guide to help avoid any wasted or duplicate effort.

    Communicating with the Team

    The easiest way to communicate with the team is via GitHub issues.

    Please file new issues, feature requests and suggestions, but DO search for similar open/closed preexisting issues before creating a new issue.

    If you would like to ask a question that you feel doesn't warrant an issue (yet), please reach out to us via Twitter:

    Developer Guidance

    Prerequisites

    You can configure your environment to build Terminal in one of two ways:

    Using WinGet configuration file

    After cloning the repository, you can use a WinGet configuration file to set up your environment. The default configuration file installs Visual Studio 2026 Community & rest of the required tools. There are two other variants of the configuration file available in the .config directory for Enterprise & Professional editions of Visual Studio 2026. To run the default configuration file, you can either double-click the file from explorer or run the following command:

    winget configure .config\configuration.winget
    

    Manual configuration

    Building the Code

    OpenConsole.slnx may be built from within Visual Studio or from the command-line using a set of convenience scripts & tools in the /tools directory:

    Building in PowerShell

    Import-Module .\tools\OpenConsole.psm1
    Set-MsBuildDevEnvironment
    Invoke-OpenConsoleBuild
    

    Building in Cmd

    .\tools\razzle.cmd
    bcz
    

    Running & Debugging

    To debug the Windows Terminal in VS, right click on CascadiaPackage (in the Solution Explorer) and go to properties. In the Debug menu, change "Application process" and "Background task process" to "Native Only".

    You should then be able to build & debug the Terminal project by hitting F5. Make sure to select either the "x64" or the "x86" platform - the Terminal doesn't build for "Any Cpu" (because the Terminal is a C++ application, not a C# one).

    👉 You will not be able to launch the Terminal directly by running the WindowsTerminal.exe. For more details on why, see #926, #4043

    Coding Guidance

    Please review these brief docs below about our coding practices.

    👉 If you find something missing from these docs, feel free to contribute to any of our documentation files anywhere in the repository (or write some new ones!)

    This is a work in progress as we learn what we'll need to provide people in order to be effective contributors to our project.


    Code of Conduct

    This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.