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

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
A dragon IT Architect in the shadowrun world using Microsoft Tools like Windows LAPS to secure his datacenter, relaxing and watching a sitcom on TV

Securing Local Administrator Accounts with Windows LAPS: A Get Started Guide for Windows Server Environments

Managing local administrator accounts securely is a critical aspect of maintaining a robust and secure IT environment. With the introduction of the Windows Local Administrator Password Solution (LAPS) in newer…

Spread the knowledge
Read more
A dragon IT Architect in the shadowrun world using his notebook and keepassxc to safe the world from a virus attack

Securing Client Passwords with KeePassXC: A Consultant’s Guide to Autotyping and More

As consultants, managing multiple clients and their respective passwords can be a daunting task, especially when security is paramount. In this article, we will explore how KeePassXC, a powerful and…

Spread the knowledge
Read more
Windows Server 2025 Monitoring TCP/IP on http://hartiga.de

Windows Server 2025 – Monitoring TCP/IP

Monitoring open TCP/IP ports is crucial for maintaining the security and functionality of your Windows system. This article will guide you through using three powerful tools, netstat, powershell Get-NetTCPConnection and…

Spread the knowledge
Read more
Windows Admin using Winget

Easily manage Applications with WinGet v1.x

Microsoft has released WinGet, a package manager that is very well suited for installing and updating third-party applications. We are now installing applications with “WinGet” and learn how to manage…

Spread the knowledge
Read more