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.

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

Related Posts

Technitium DNS Server on Windows

Homelab – Build a robust DNS foundation – Part 2 using Technitium DNS Server on Windows

Let’s build a better version of a Technitium DNS Server on Windows. A while back i wrote a DNS guide to help you get started in your homelab. This guide…

Spread the knowledge
Read more
Tinyproxy and a dragon IT architect from the shadowrun world looking at a large screen with graphs on it

Tinyproxy on Hyper-V – new Ubuntu 24.04

A Linux VM with Proxy, such as tinyproxy, can be used to reduce bandwidth as it caches frequently requested websites. Today we want to configure a Linux VM with a Proxy and deploy…

Spread the knowledge
Read more
COM Port Management and a dragon IT architect from the shadowrun world looking at a com port and a manufacturing floor

Windows – easy COM Port Management without Admin Rights with Windows 10 & 11

COM Port Management with no administrator rights is a challenge. You might have noticed that I am currently involved in IT and OT discussions. During OT modernization, I encountered a…

Spread the knowledge
Read more
Remote Desktop Connection Manager (RDCM) – A Must Have for Homelabs and a dragon IT architect from the shadowrun world looking at his computer monitor without humans

Remote Desktop Connection Manager (RDCM) – A Must-Have for Homelabs

Managing multiple remote connections efficiently is a challenge for IT professionals and homelab enthusiasts alike. Remote Desktop Connection Manager (RDCM) simplifies this process by providing a centralized interface for organizing…

Spread the knowledge
Read more
IT Architect dragon from the shadowrun universe with USB Stick and Rufus theme

Windows Server 2025 – Create bootable USB drives the easy way

To get started with Windows Servers 2025 you need to create a bootable USB drive. This normally is done on a USB Stick. To create a bootable USB Device and…

Spread the knowledge
Read more
A dragon IT Architect in the shadowrun world using an Excel document and the Azure Quick Review Tool

Azure Quick Review 2.04 – High Level Assessments

With Azure Quick Review (azqr) you can quickly make a High Level Assessment of an “Azure Subscription” or “Resource Group”. Installation of Azure Quick Review You can download the files…

Spread the knowledge
Read more