web-dev-qa-db-fra.com

Comment installer Microsoft Windows Terminal

D'accord, cela devrait être une question assez simple, mais avoir échoué toutes les possibilités, j'ai peur de devenir chargé un, juste pour obtenir Microsoft Windows Terminal installé .

Le terminal Microsoft Windows

est une nouvelle application de terminal moderne, rapide, efficace, puissante et productive pour les utilisateurs d'outils de ligne de commande et de coquilles telles que l'invite de commande, PowerShell et WSL. Ses principales caractéristiques incluent plusieurs onglets, unicode et de la prise en charge de caractères UTF-8, un moteur de rendu de texte accéléré GPU et des thèmes personnalisés, des styles et des configurations.

C'est un projet open source disponible à https://github.com/microsoft/terminal

enter image description here

  • Essayer d'installer avec choco install Microsoft-windows-terminal, J'aurais:

    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}
    

Bien que j'ai épuisé toutes mes recherches et que je suis sûr que j'ai la chose dépendante:

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

Donc, une fois encore, une question simple, comment obtenir le terminal Microsoft Windows installé? Merci.

10
xpt

L'installer directement à partir du magasin Microsoft n'a pas fonctionné pour moi non plus. Dans Windows 10 1909, j'ai fait

Add-AppxPackage Microsoft.WindowsTerminal_0.11.1191.0_8wekyb3d8bbwe.msixbundle

et il est installé 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

Flèche Alt-Down pour obtenir les paramètres par défaut JSON.

2
js2010