Questions tagged [windows-terminal]

Microsoft's official new terminal app for Windows, released May 2019.

Windows Terminal is the Terminal app for Windows made by Microsoft, released in May 2019. See the Windows Terminal GitHub

191 questions
358
votes
11 answers

Adding Git-Bash to the new Windows Terminal

I'm trying to add a new terminal (Git Bash) to the new Windows Terminal. However, I can't get it to work. I tried changing the commandline property in the profiles array to git-bash.exe but no luck. Does anyone have an idea how to get this to work?
Mendy
  • 4,977
  • 4
  • 19
  • 31
33
votes
7 answers

How do I get Windows 10 Terminal to launch WSL?

I'm using the new Windows Terminal, and trying to get it to launch my WSL terminal. This is the setting that I'm trying to use: { "acrylicOpacity" : 0.75, "closeOnExit" : true, "colorScheme" : "Campbell", …
Wayne Werner
  • 41,650
  • 21
  • 173
  • 260
24
votes
2 answers

Add Developer Command Prompt for Visual Studio to Windows Terminal?

How do I add the Visual Studio Developer's Command Prompt to the list of Windows Terminal consoles?
Wallace Kelly
  • 11,917
  • 6
  • 37
  • 52
23
votes
3 answers

How to use the new Windows Terminal as Visual Studio debugging console

How can I set the new Windows Terminal application to be used as debugging console in Visual Studio 2019? By default it launches cmd.exe when I debug.
Luka
  • 3,402
  • 2
  • 30
  • 53
19
votes
1 answer

Changing the Window size of the new Windows Terminal

As you've heard, the new Windows Terminal has been released. What I can't find is how to adjust the window size. In the old consoles, if you wanted to change the settings, it would give you a GUI, but with the new console, you need JSON commands.…
17
votes
9 answers

Opening up Windows Terminal with elevated privileges, from within Windows Terminal

There are plenty of questions here which asks how to elevate priviliges from powershell, and almost all of them recommend this command: Start-Process -Verb RunAs powershell.exe ..... (or pwsh.exe for Powershell Core) And this works, it opens up a…
Lasse V. Karlsen
  • 350,178
  • 94
  • 582
  • 779
13
votes
1 answer

Setting default position of Windows Terminal (Preview)

On opening Windows Terminal (Preview), part of the window is below the taskbar. When I move the application window to a desired position on screen and re-open the application, it is not at the previous position, which I had set by dragging the…
user9652688
13
votes
1 answer

How to run VScode in sudo mode in WSL2?

I was configuring the new Windows subsystem for Linux 2 developing environment. I have installed VSCode in Windows and WSL2 distribution of Ubuntu 18.04. I can open VSCode in Ubuntu(accessed through Windows Terminal) normally when logged as normal…
12
votes
1 answer

Getting powershell current line before ENTER is pressed

I had an idea to write a visualizer that displays an AST of your PowerShell line as you type it. But to do this, the first step would be to get the text of the current line, before it is submitted (before ENTER is pressed), but I can't find an API…
xdhmoore
  • 6,443
  • 6
  • 37
  • 71
12
votes
3 answers

Where is the windows terminal settings location?

I edited the settings file and there must have been a typo and now the app crashes on startup. Online the documentation says the settings lives in $env:LocalAppData\Packages\Microsoft.WindowsTerminal_8wekyb3d8bbwe\LocalState\settings.json I can't…
1mike12
  • 1,681
  • 16
  • 29
12
votes
2 answers

How to add Windows Terminal to context menu?

Microsoft released Windows terminal as a Microsoft Store app. How to add it to the context menu or replace 'Open Powershell window here' with it ?
11
votes
1 answer

Visual-Block mode not working in Vim with C-v on WSL@Windows 10

I use WSL Ubuntu and Vim inside the new Windows Terminal, but if I have to enter the visual-block mode with C-v, I can't since it acts as paste. I am okay with rebinding it to something else but I don't happen to have found the command that I have…
11
votes
1 answer

Double-click to select text in Windows Terminal selects only one word

I'm trying to setup the new Windows Terminal for using git-bash. This is my current profile: { "guid": "{00000000-0000-0000-ba54-000000000002}", "tabTitle": "Git Bash", "copyOnSelect": true, "acrylicOpacity" : 0.75, "closeOnExit"…
torsan
  • 281
  • 4
  • 13
11
votes
6 answers

How to spawn a new tab in same directory as previous directory?

I want to simply start a new tab in the same folder as my previous tab that I was in. Is this possible, and if so how? This is with the windows terminal by the way.
DJ Poland
  • 667
  • 6
  • 21
10
votes
2 answers

How to install Microsoft Windows Terminal

Alright, this should be a fairly simple question, but failing every possibilities, I'm afraid that it is becoming a loaded one, just to get Microsoft Windows Terminal installed. The Microsoft Windows Terminal is a new, modern, fast, efficient,…
xpt
  • 13,224
  • 19
  • 76
  • 149
1
2 3
12 13