Install Windows Terminal 2024

With just a few command you can run your CMD, a Linux Bash, PowerShell and Azure Cloud Shell in One Terminal Screen under current versions of Windows 10 & Windows 11.

Introduction to Windows Terminal

Windows Terminal is the new standard in terminal applications for command-line tools and shells like Command Prompt, PowerShell, and WSL. It’s fast, efficient, powerful, and productive.

This software offers a multi-tab option and is fully integrated with Azure CLI, WSL, Command Line, and Powershell commands. It also includes different color schemes, backgrounds, and the option to save and restore your settings.

Update Powershell using Winget

Updating to current Powershell helps you get rid of messages like “Install the newest PowerShell,…” when opening your Windows Powershell.

While you can do it manually using the download and installer from Microsoft here I do recommend using Winget.

Search for the prefered version:

winget search Microsoft.PowerShell
winget search Microsoft.PowerShell
winget search Microsoft.PowerShell

Install using Winget:

winget.exe install --id Microsoft.PowerShell --source winget --exact --accept-source-agreements --silent --disable-interactivity --accept-package-agreements
winget.exe install --id Microsoft.PowerShell
winget.exe install –id Microsoft.PowerShell

Install Azure Command Line Interface (Azure CLI)

I recommend to install and manage updates for Azure CLI using winget, Microsoft’s package manager for Windows.

winget install -e --id Microsoft.AzureCLI

More details are available here in the Microsoft documentation, i.e. how to uninstall and remove local cache and data.

Just to compare and why i prefer winget, this is the powershell code as per Microsoft.

$ProgressPreference = 'SilentlyContinue'; Invoke-WebRequest -Uri https://aka.ms/installazurecliwindows -OutFile .\AzureCLI.msi; Start-Process msiexec.exe -Wait -ArgumentList '/I AzureCLI.msi /quiet'; Remove-Item .\AzureCLI.msi

Why would you try to remember that powershell command, when you can easily install and keep it updated with winget?

Use Azure Cloud Shell

Open Terminal and use the Azure Cloud Shell Option to start a connection to your Azure Cloud Shell for your Tenant. This will look like below.

Use Azure Cloud Shell
Use Azure Cloud Shell

Install WSL for Linux Bash

This is it’s own article and you can take a look at it here.

Install Terminal Preview

This can be done using the MS Store Download Link a search in your MS Store on your client searching the MS Store on your client, or the highly recommended way and running the following command.

winget.exe install --id Microsoft.WindowsTerminal.Preview  --exact --accept-source-agreements --silent --disable-interactivity --accept-package-agreements

Configure Terminal Preview

Windows Terminal has a lot of configuration options. I normally configure at least 3 things for my own clients. If you want to know more and learn about how to use backgrounds, back and restore the settings, this will become available on the 27th of July 2024 in this blog.

  • Colourize my tabs
  • When Terminal starts – Open Windows from a previous session
  • New Instance behaviour – Attach to the most recently used window on this desktop
Configure Windows Terminal Preview
Configure Windows Terminal Preview

Conclusion

This is most likely the biggest time saver for me in my daily work. When setting up a new machine I use this script to configure my dev device in minutes and have my tools available. If you want to learn about my second time saver, please take a look here for my Notepad++ AddOns.

If you want to get involved, this is open source! Read the initial announcement by Kayla Cinnamon
with more fancy details around GPU acceleration and that this has been announced as Open Source. Visit the repository at https://github.com/Microsoft/Terminal to clone, build, test, and run your own Terminal!

You can get involved with the community, the delovepers and and share feedback to make it an even better product available to the community on on GitHub.

Avatar for Andreas Hartig
Andreas Hartig - MVP - Cloud and Datacenter Management, Microsoft Azure

Related Posts

Two IT dragons discussing about Proton Pass and all its connections to manage passwords

Managing passwords with Proton Pass

Managing passwords with Proton Pass changed my password management and thus my backbone to manage my IT setup efficiently and secure. For years, local password managers like KeePassXC have been…

Read more
The LAPS Modernization Maturity Levels

Unifying Local Credential Security – Legacy LAPS, Windows LAPS, and Azure Arc in Practice

Local Credential Security – Managing local administrator credentials across an enterprise fleet has always been a fundamental security control. For years, Microsoft Local Administrator Password Solution (often called Legacy LAPS…

Read more
the IT Operations dragon looking at multiple screens with Group Policies on them and the GPO Policy Analyzer checking them all

How to use the GPO Policy Analyzer

Managing Group Policy Objects across a complex Active Directory environment has always been a challenge. Administrators often inherit hundreds of GPOs with overlapping configurations, stale settings, and hidden conflicts. Finding…

Read more
WAU Happy Dragons crazy about 110 percent security

Schedule Winget Auto Updates for operational usage

Deploying Winget Auto Updates (WAU) gives you a functional update baseline, for full functionality we need to configure more to get ready for production. If servers query the Winget repository…

Read more
WAU Happy Dragons about improved security

Centralized Software Patch Management: Deploying Winget Auto Updates (WAU) via Active Directory GPO

Deploying Winget Auto Updates for Software Patch Management for managing third-party software updates across an IT infrastructure typically requires expensive enterprise solutions. This article provides a technical guide on how…

Read more
Active Directory Planning Tool: Mapping Structures and Delegations with many IT dragons at a conference table discussing it

Active Directory Planning Tool: Mapping Structures and Delegations with SMAD-X

Using an Active Directory Planning Tool is key for understanding complex Active Directory environments and often requires more than what traditional management consoles can provide. While tools such as Active…

Read more