简体   繁体   English

如何在 Windows 10 版本 1909 中安装 Microsoft Windows 终端

[英]How to install Microsoft Windows Terminal in Windows 10 version 1909

[Note] this is a historic problem that is specific to Windows 10 version 1909, which does not satisfy the Windows Terminal requirement by then. [注意]这是 Windows 10 版本 1909 特有的历史问题,届时不满足 Windows 终端要求。 It would no longer be a problem for most nowadays systems.对于当今的大多数系统来说,这将不再是问题。

Alright, this should be a fairly simple question, but failing every possibilities, I'm afraid that it is becoming a loaded one, just to get Microsoft Windows Terminal installed .好吧,这应该是一个相当简单的问题,但在所有可能性都失败了,恐怕它正在变成一个加载的问题,只是为了安装Microsoft Windows Terminal

The Microsoft Windows Terminal 微软 Windows 终端

is a new, modern, fast, efficient, powerful, and productive terminal application for users of command-line tools and shells like Command Prompt, PowerShell, and WSL.是一个新的、现代、快速、高效、强大和高效的终端应用程序,适用于命令行工具和 shell(如命令提示符、PowerShell 和 WSL)的用户。 Its main features include multiple tabs, Unicode and UTF-8 character support, a GPU accelerated text rendering engine, and custom themes, styles, and configurations. Its main features include multiple tabs, Unicode and UTF-8 character support, a GPU accelerated text rendering engine, and custom themes, styles, and configurations.

It is an open source project available at https://github.com/microsoft/terminal这是一个开源项目,可在https://github.com/microsoft/terminal

在此处输入图像描述

  • Trying to install with choco install microsoft-windows-terminal , I'll get:尝试使用choco install microsoft-windows-terminal ,我会得到:

     ERROR: The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: Deployment failed with HRESULT: 0x80073CF3, Package failed updates, dependency or conflict validation. Windows cannot install package Microsoft.WindowsTerminal_0.11.1121.0_x64__8wekyb3d8bbwe because this package depends on a framework that could not be found. Provide the framework "Microsoft.VCLibs.140.00" published by "CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US", with neutral or x64 processor architecture and minimum version 14.0.27810.0, along with this package to install. The frameworks with name "Microsoft.VCLibs.140.00" currently installed are: {Microsoft.VCLibs.140 Windows cannot install package Microsoft.WindowsTerminal_0.11.1121.0_x64__8wekyb3d8bbwe because this package depends on a framework that could not be found. Provide the framework "Microsoft.VCLibs.140.00" published by "CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US", with neutral or x64 processor architecture and minimum version 14.0.27810.0, along with this package to install. The frameworks with name "Microsoft.VCLibs.140.00" currently installed are: {Microsoft.VCLibs.140.00_14.0.26706.0_x64__8wekyb3d8bbwe Microsoft.VCLibs.140.00_14.0.26706.0_x86__8wekyb3d8bbwe}

Although I've exhausted all my searches and am sure that I have the dependent thing:尽管我已经用尽了所有搜索并且确信我有依赖的东西:

PS > Get-AppxPackage -allusers *Microsoft.VCLibs.140.00* | Select Name, PackageFullName

Name                               PackageFullName
----                               ---------------
Microsoft.VCLibs.140.00.UWPDesktop Microsoft.VCLibs.140.00.UWPDesktop_14.0.26905.0_x64__8wekyb3d8bbwe
Microsoft.VCLibs.140.00            Microsoft.VCLibs.140.00_14.0.26706.0_x64__8wekyb3d8bbwe
Microsoft.VCLibs.140.00            Microsoft.VCLibs.140.00_14.0.26706.0_x86__8wekyb3d8bbwe
Microsoft.VCLibs.140.00.UWPDesktop Microsoft.VCLibs.140.00.UWPDesktop_14.0.27810.0_x64__8wekyb3d8bbwe

So, once again, simple question, how to get Microsoft Windows Terminal installed?那么,再次简单的问题,如何安装 Microsoft Windows 终端? thx.谢谢。

Installing it straight from the Microsoft Store didn't work for me either.直接从 Microsoft Store 安装它也不适合我。 In Windows 10 1909, I did (it's an msix).在 Windows 10 1909 中,我做到了(它是 msix)。 Note that the appx commands are gone in powershell 7.1.请注意,appx 命令在 powershell 7.1 中消失了

Add-AppxPackage Microsoft.WindowsTerminal_0.11.1191.0_8wekyb3d8bbwe.msixbundle

and it installed ok.它安装正常。

get-appxpackage microsoft.windowsterminal


Name              : Microsoft.WindowsTerminal
Publisher         : CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US
Architecture      : X64
ResourceId        :
Version           : 0.11.1191.0
PackageFullName   : Microsoft.WindowsTerminal_0.11.1191.0_x64__8wekyb3d8bbwe
InstallLocation   : C:\Program Files\WindowsApps\Microsoft.WindowsTerminal_0.11.1191.0_x64__8wekyb3d8bbwe
IsFramework       : False
PackageFamilyName : Microsoft.WindowsTerminal_8wekyb3d8bbwe
PublisherId       : 8wekyb3d8bbwe
IsResourcePackage : False
IsBundle          : False
IsDevelopmentMode : False
NonRemovable      : False
Dependencies      : {Microsoft.VCLibs.140.00_14.0.27810.0_x64__8wekyb3d8bbwe,
                    Microsoft.VCLibs.140.00.UWPDesktop_14.0.27810.0_x64__8wekyb3d8bbwe}
IsPartiallyStaged : False
SignatureKind     : Store
Status            : Ok

Alt-down arrow-settings to get the default settings json. Alt-向下箭头设置以获取默认设置 json。

You should install this dependence: Microsoft.VCLibs.140.00.您应该安装此依赖项:Microsoft.VCLibs.140.00。 You can get it only from VLSC ISO image called "SW_DVD9_NTRL_Win_10_1903_32_64_ARM64_MultiLang_App_Update_X22-01657.ISO" (if your Windows 10 version is 1903/1909).您只能从名为“SW_DVD9_NTRL_Win_10_1903_32_64_ARM64_MultiLang_App_Update_X22-01657.ISO”的 VLSC ISO 映像中获取它(如果您的 Windows 10 版本是 1903/1909)。 Google it.去谷歌上查询。 The site with alive link will be in the top of search.具有活动链接的站点将位于搜索的顶部。 Unfortunately these kind of packages is distributed only within VLSC.不幸的是,这类软件包仅在 VLSC 内分发。

I recommend on using choco [ it's short of similar to apt-get on linux:( but not that powerful ]. It contains most of the packages. click here CHOCO to install choco and search for windows terminal package, Just run a single command in powershell[ADMIN PRIVILEGED] and you are all set to use. I recommend on using choco [ it's short of similar to apt-get on linux:( but not that powerful ]. It contains most of the packages. click here CHOCO to install choco and search for windows terminal package, Just run a single command in powershell[ADMIN PRIVILEGED] 并且您都可以使用。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM