Windows Terminal becomes new default command line tool in Windows 11

Martin Brinkmann
Oct 19, 2022
Windows 11 Help
|
6

Windows users have quite a few options when it comes to using the command line. There is the classic Command Prompt for one, and PowerShell. Now, with the release of Windows 11 version 22H2, comes a new default: Windows Terminal.

windows terminal tabs

Windows Terminal was launched in 2019 by Microsoft as an open source application. It took Microsoft a year to release Windows Terminal 1.0 to the public, and another two years to make it the default on Windows 11.

Windows Terminal brings command line interfaces together in a single interface. Since it is tab-based, it is possible to launch multiple command lines at the same time. Want three PowerShell prompts, or a Command Prompt and a PowerShell prompt? Terminal can do that in a single window.

It is also coming with customization options to change the look and feel of each individual tab. Called Profiles by Microsoft, each is associated with a specific command line application. Besides CMD and PowerShell, Windows Terminal may also provide access to Windows Subsystem for Linux or Visual Studio, among others.

Terminal supports several other features. Panes needs to be mentioned specifically, as it can display multiple prompts in a single tab. There is also a command palette, which users may display with the shortcut CTRL-Shift-P.

Configuring Windows Terminal

configure windows terminal

Most Windows 11 users may not mind that Windows Terminal is opened when they launch another command prompt application on the system. These are launched in a tab in the Windows Terminal window, and the added customization options make Terminal a good choice for many tasks.

Microsoft has added an option to restore the pre-Windows 11 version 22H2 behavior however. Here is how that is configured:

  1. Select Start and then Settings, or use the keyboard shortcut Windows-I to open the Settings app.
  2. Go to Privacy & Security > For developers.
  3. Locate the Terminal entry on the page that opens and activate the menu. The following options are provided:
    1. Let Windows decide -- Opens Windows Terminal in Windows 11 version 22H2.
    2. Windows console host - Opens a dedicated window for the selected command prompt interface, .e.g, a  PowerShell window when launching PowerShell.
    3. Windows Terminal -- Same as "Let Windows decide". Opens Windows Terminal whenever a command prompt window is launched.

Now You: which do you prefer: Terminal or a specific command line application?

Summary
Windows Terminal becomes new default command line tool in Windows 11
Article Name
Windows Terminal becomes new default command line tool in Windows 11
Description
Windows Terminal is the new command line experience on Windows 11 version 22h2. Here are instructions to change that.
Author
Publisher
Ghacks Technology News
Logo
Advertisement

Tutorials & Tips


Previous Post: «
Next Post: «

Comments

  1. Anonymous said on October 20, 2022 at 10:30 pm
    Reply

    I’m in disbelief that they gave us this freedom. That’s unusual for Microsoft.

  2. ECJ said on October 20, 2022 at 3:46 pm
    Reply

    “…which do you prefer: Terminal or a specific command line application?”

    I prefer to use Visual Studio Code, with the PowerShell Extension for Visual Studio Code installed. This allows writing PowerShell in the Visual Studio Code editor window (which has syntax highlighting, tab completion, etc.) and then run it in the built-in Visual Studio Code terminal using F5 or F8 shortcut keys (like when using the legacy PowerShell ISE). Then save the PowerShell code to file as .ps1 files to open and use again in Visual Studio Code in the future.

    Visual Studio Code:
    https://code.visualstudio.com/Download

    PowerShell Extension for VSCode:
    https://github.com/PowerShell/vscode-powershell

    PowerShell 7:
    https://github.com/PowerShell/PowerShell

  3. yanta said on October 20, 2022 at 1:18 am
    Reply

    I have a lot of .cmd scripts I run. Is terminal 100% compatible with the command prompt?

    1. Joe said on October 20, 2022 at 4:08 am
      Reply

      You select the environment for each tab in the terminal, be it cmd, PowerShell, WSL, Python, etc.. so yes, it is 100% compatible with the command prompt. You can also set the default.

  4. JohnUS said on October 19, 2022 at 1:02 pm
    Reply

    Don’t use terminal a lot so I am a bit confused as to why Windows needs so many options to access a terminal?

    1. John G. said on October 19, 2022 at 1:52 pm
      Reply

      Terminal allows to use Powershell native, Poweshell 7.2, CMD and more.

Leave a Reply

Check the box to consent to your data being stored in line with the guidelines set out in our privacy policy

We love comments and welcome thoughtful and civilized discussion. Rudeness and personal attacks will not be tolerated. Please stay on-topic.
Please note that your comment may not appear immediately after you post it.