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

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
Gemini Generated Image 6s2cz6s2cz6s2cz6

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
Dragons looking at AccountLockout Tool

AD Account Lockout (Free Tool)

The AD Account Lockout tool is free and very valuable in troubleshooting account lockouts in Active Directory. This is a task as old as the directory service itself. Even in…

Read more
IT Architect doing Active Directory Visualization

Active Directory Visualization (Free Tools)

Designing and documenting Active Directory (AD) structures is always a long and complex exercise. Historically, this required either building full lab environments or settling for static Visio diagrams that became…

Read more
IT Operations Drache looking at Event Logs

Modern Windows Event Viewer – EventLogExpert

The project Windows Event Viewer – EventLogExpert provides a modern open-source toolset that fundamentally improves the way we interact with Windows Event Logs. Since troubleshooting .evtx files is often a…

Read more