Questions tagged [windows-terminal]

Windows Terminal is a terminal emulator for Windows 10 written by Microsoft. Windows Terminal is a new, modern, feature-rich, productive terminal application for command-line users. It includes support for tabs, rich text, globalization, configurability, theming & styling, and more.

Related Links:

258 questions
92
votes
5 answers

Is there a way to change the default shell in Windows Terminal?

When opening the new Windows Terminal, it opens up PowerShell. Also by default new tabs are PowerShell. You have to manually switch to your desired shell. Is there a way in the settings JSON file to change this to cmd or something else? windows…
Bob Kimani
  • 1,077
59
votes
8 answers

Windows terminal: Predefined tabs on startup

Is it possible to start the Windows terminal with (multiple) tabs, each on a configured working directory? The reason for this is, because I usually manually do the same steps each day: Start the same handful of shells and cd on each of them to a…
54
votes
1 answer

How do I get Windows Terminal to stop asking me every time I paste something into the terminal?

Everytime I paste something into Windows Terminal I get the following annoying message that's attempting to save me from myself. I don't need it! How can I make it go away?
leeand00
  • 23,552
43
votes
11 answers

Open Windows Terminal as admin with WIN+R

I use shortcut +R to run Windows Terminal [wt], but I cannot run it as Admin, which causes problems when I install something via choco. To open it as Admin, I have to: Press > Right-click Terminal > More > Run as Admin > ◀ > ENTER Some…
deuterium
  • 533
23
votes
3 answers

How do I add a keyboard shortcut to clear scrollback buffer in Windows Terminal?

I'd like to be able to clear my scrollback buffer in Windows Terminal using a keyboard shortcut. In WSL I can hit Ctrl+L and it does a form-feed (equivalent of clear -x command), which clears the screen but only by scrolling the content above up and…
22
votes
1 answer

Windows Terminal has no title bar and doesn't show tabs

OS: Windows 11 Build: 21H2 22000.258 Processor: AMD Ryzen 9 5950X 16-Core Processor 4.00 GHz RAM: 64.0 GB (63.9 GB usable) It's a pretty fresh install of Windows too, because I did a fresh install when I got another WD Black SN850 2TB NVMe about a…
19
votes
2 answers

Desktop shortcut to a specific profile in Windows Terminal

I have a few custom profiles in Windows Terminal, as shown in the settings menu: How do I make a desktop shortcut which I can double click that launches windows terminal with one of these profiles?
Greedo
  • 1,037
16
votes
2 answers

Open putty ssh-session in new Windows Terminal

As in the question, is it possible to open Putty session in Windows Terminal in one Window? Or maybe there's something similar like pageant for OpenSSH? I can create an ssh session using OpenSSH, but I need to set a passphrase for it. I don't want…
mayerpaw
  • 263
  • 1
  • 2
  • 4
15
votes
5 answers

Clear Screen in PowerShell and Command Line without erasing everything

In using the clear command, the screen clears. Totally. I no longer have access to any of the stuff that was previously on the screen at all. Is there a way to "clear" the screen (i.e. make the prompt go to the top of the screen) without erasing…
Bob
  • 183
  • 1
  • 2
  • 6
13
votes
2 answers

How to port / sync my Windows Terminal settings between computers?

I spent quite some time in Windows Terminal to set up my preferences and color themes. What's a good way to port / sync these settings to other computers? I guess there are 3 tiers of solutions: Level 1: Know I'm about to buy a new computer or…
ZYinMD
  • 517
13
votes
1 answer

Increase buffer size in the new Windows Terminal

The default buffer size in the new Windows terminal (https://github.com/microsoft/terminal) is too small and quickly gets full when reading a large file. I could not find a way to increase it. In the old Windows terminal, one could change the buffer…
diaa
  • 233
13
votes
3 answers

How do I change the windows error sound for windows terminal to something different?

Okay, so you know when you press backspace on an empty line in windows terminal, it makes that annoying error sound? How do I change the sound the something else? Thanks.
12
votes
6 answers

Windows copy command concatenates several files in non-numerical order

I have a folder with around 5000 .ts files that I want to concat together into one. They follow the naming format of chunk_n so for example chunk_50, chunk_51, chunk_52 etc. When I run the windows copy command like this: copy /b *.ts final.ts It…
Dongliu
  • 131
  • 1
  • 5
12
votes
1 answer

Installing Windows Terminal .msixbundle using PowerShell Add-AppxPackage

I'm trying to install Windows Terminal on Windows 10 v1803 [build 17134.13.04] where I don't have any admin privileges and Microsoft Store has also been deactivated. I downloaded the .msixbundle from the GitHub release page and used the command from…
Foad
  • 892
  • 4
  • 19
  • 54
11
votes
0 answers

When I Start my Windows 11 computer, the terminal pops up saying: Error writing proxy settings. (5) Access is denied

Problem Sometimes when I start my Windows 11 computer, the terminal pops up with an error message: Error writing proxy settings. (5) Access is denied. This does not happen every time, but I will occasionally see it. Error message Error writing proxy…
user1565358
1
2 3
17 18