微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

在 Windows Server 2019 Datacenter 上安装 Windows Terminal

如何解决在 Windows Server 2019 Datacenter 上安装 Windows Terminal

我正在尝试在此 Windows Server 2019 数据中心上安装 Windows 终端,使用 choco,阅读以下内容https://computingforgeeks.com/easy-way-to-install-windows-terminal-on-windows/


PS C:\Windows\system32> choco install microsoft-windows-terminal
Chocolatey v0.10.15
Installing the following packages:
microsoft-windows-terminal
By installing you accept licenses for the packages.
Progress: Downloading microsoft-windows-terminal 1.9.1942.0... 100%

microsoft-windows-terminal v1.9.1942.0 [Approved]
microsoft-windows-terminal package files install completed. Performing other installation steps.
The package microsoft-windows-terminal wants to run 'chocolateyInstall.ps1'.
Note: If you don't run this script,the installation will fail.
Note: To confirm automatically next time,use '-y' or consider:
choco feature enable -n allowGlobalConfirmation
Do you want to run the script?([Y]es/[A]ll - yes to all/[N]o/[P]rint): a

ERROR: This package requires at least Windows 10 version 1903/OS build 18362.x.
The install of microsoft-windows-terminal was NOT successful.
Error while running 'C:\ProgramData\chocolatey\lib\microsoft-windows-terminal\tools\chocolateyInstall.ps1'.
 See log for details.

Chocolatey installed 0/1 packages. 1 packages Failed.
 See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).

Failures
 - microsoft-windows-terminal (exited -1) - Error while running 'C:\ProgramData\chocolatey\lib\microsoft-windows-terminal\tools\chocolateyInstall.ps1'.
 See log for details.

解决方法

Server 2019 per their Github 不支持 Windows 终端。 Windows Server 2019 最终版本号为 17763,根据该软件包,Windows Terminal 至少需要 18362.x。

您必须使用较新版本的 Windows 或等到下一个 Windows Server 版本发布才能在 Windows Server 上使用它。基本上,Windows 终端需要 Windows 版本 2004(内部版本号 19041)或更新版本。

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。