Scott Hanselman

You can now download the new Open Source Windows Terminal

June 20, '19 Comments [27] Posted in Open Source | Win10
Sponsored By

Last month Microsoft announced a new open source Windows Terminal! It's up at https://github.com/microsoft/Terminal and it's great, but for the last several weeks you've had to build it yourself as a Developer. It's been very v0.1 if you know what I mean.

Today you can download the Windows Terminal from the Microsoft Store! This is a preview release (think v0.2) but it'll automatically update, often, from the Windows Store if you have Windows 10 version 18362.0 or higher. Run "winver" to make sure.

Windows Terminal

If you don't see any tabs, hit Ctrl-T and note the + and the pull down menu at the top there. Under the menu go to Settings to open profiles.json. Here's mine on one machine.

Here's some Hot Windows Terminal Tips

You can do background images, even animated, with opacity (with useAcrylic off):

"backgroundImage": "c:/users/scott/desktop/doug.gif",
"backgroundImageOpacity": 0.7,
"backgroundImageStretchMode": "uniformToFill

You can edit the key bindings to your taste in the "key bindings" section. For now, be specific, so the * might be expressed as Ctrl+Shift+8, for example.

Try other things like cursor shape and color, history size, as well as different fonts for each tab.

 "cursorShape": "vintage"

If you're using WSL or WSL2, use the distro name like this in your new profile:

"wsl.exe -d Ubuntu-18.04"

If you like Font Ligatures or use Powerline, consider Fira Code as a potential new font.

I'd recommend you PIN terminal to your taskbar and start menu, but you can run windows terminal from the command "wt" from Windows R or from anotherc console. That's just "wt" and enter!

Try not just "Ctrl+Mouse Scroll" but also "Ctrl+Shift+Mouse Scroll" and get your your whole life!

Remember that the definition of a shell is someone fluid, so check out Azure Cloud Shell, in your terminal!

Windows Terminal menus

Also, let's start sharing nice color profiles! Share your new ones as a Gist in this format. Note the name.

{
"background" : "#2C001E",
"black" : "#4E9A06",
"blue" : "#3465A4",
"brightBlack" : "#555753",
"brightBlue" : "#729FCF",
"brightCyan" : "#34E2E2",
"brightGreen" : "#8AE234",
"brightPurple" : "#AD7FA8",
"brightRed" : "#EF2929",
"brightWhite" : "#EEEEEE",
"brightYellow" : "#FCE94F",
"cyan" : "#06989A",
"foreground" : "#EEEEEE",
"green" : "#300A24",
"name" : "UbuntuLegit",
"purple" : "#75507B",
"red" : "#CC0000",
"white" : "#D3D7CF",
"yellow" : "#C4A000"
}

Note also that this should be the beginning of a wonderful Windows Console ecosystem. This isn't the one terminal to end them all, it's the one to start them all. I've loved alternative consoles for YEARS, whether it be ConEmu or Console2 many years ago, I've long declared that Text Mode is a missed opportunity.

Remember also that Terminal !== Shell and that you can bring your shell of choice into your Terminal of choice! If you want the deep architectural dive, be sure to watch the BUILD 2019 technical talk with some of the developers or read about ConPTY and how to integrate with it!


Sponsor: Get the latest JetBrains Rider with WinForms designer, Edit & Continue, and an IL (Intermediate Language) viewer. Preliminary C# 8.0 support, rename refactoring for F#-defined symbols across your entire solution, and Custom Themes are all included.

About Scott

Scott Hanselman is a former professor, former Chief Architect in finance, now speaker, consultant, father, diabetic, and Microsoft employee. He is a failed stand-up comic, a cornrower, and a book author.

facebook twitter subscribe
About   Newsletter
Sponsored By
Hosting By
Dedicated Windows Server Hosting by SherWeb
Saturday, June 22, 2019 2:04:59 AM UTC
Now if there was only a way to escalate privileges in cmd and Powershell equivalent to sudo or even better, sudo su. Otherwise, (as a non-developer but a power user) I still can't use Windows Terminal for the majority of the stuff that I use the command line for.
Joe
Saturday, June 22, 2019 3:20:33 AM UTC
Powershell sudo: `Invoke-Elevated`

Like a lot of `Powershell <-> sh` commands, it's not a 1:1 mapping, but it does the job. Sometimes a bit better, sometimes a bit worse.
Matt Oswald
Saturday, June 22, 2019 6:18:04 AM UTC
I wonder, nobody uses the (second since recently) most popular OS - Windows 7 at Microsoft?
exim
Saturday, June 22, 2019 6:45:55 AM UTC
Thanks for the info and your profiles.json file Scott!

It's worth noting that you must have all the fonts mentioned in profiles.json installed on your system. Otherwise, Windows Terminal will silently fail to start.
Saturday, June 22, 2019 6:50:55 AM UTC
@joe - I’ve been using this sudo for Windows for a while - works great from cmd or powershell. Or even WSL bash with a little bash function to help out!

As for the new terminal - insta-install. I built from source, but haven’t used it full-time so far...
Stuart Dootson
Saturday, June 22, 2019 7:01:10 AM UTC
This seems to be only available on Windows Store. Are there plans for a version available to people who prefer not to sign their device into a Microsoft Account?
Gareth Erskine-Jones
Saturday, June 22, 2019 8:41:54 AM UTC
I have a couple of questions:

1. In your settings Gist, where do you get the icons you're using from (and where do you have to place them)?
2. What's the correct way to get the VsDevPs.ps1 file used in your VS2019 profile? My VS2019 install doesn't appear to have that file.

Thanks!
Graham
Saturday, June 22, 2019 1:54:11 PM UTC
@Stewart thanks for the suggestion, works great.

@Gareth it's a standard msix (well, msixbundle including all architectures), so if you find a site that generates "direct download" links from the "Microsoft Store", you can just install it.

(quotes might be a good idea for what to search for...)
Joe
Saturday, June 22, 2019 3:48:09 PM UTC
Will it be possible to download a setup from somewhere? Store is blocked in my company.
Martin
Saturday, June 22, 2019 7:26:33 PM UTC
Ah Microsoft. Still using the stupid backslashes.
Gurney
Saturday, June 22, 2019 10:35:30 PM UTC
This is fun! It's already more reliable and faster than Terminus.

I love the live update of settings too.
Tom
Sunday, June 23, 2019 9:45:18 AM UTC
Wow!!
that was really useful
thanks a lot
Sunday, June 23, 2019 4:28:35 PM UTC
Is there a reference for the profiles.json file somewhere?
Monday, June 24, 2019 2:36:04 AM UTC
I can get the terminal to open via typing 'wt' in the explorer, but how to pass the path?
Byron Adams
Monday, June 24, 2019 2:37:12 AM UTC
Would be nice if there were a backgroundImages C:\someImagesFolder that the terminal could cycle through like a slide show.
Byron Adams
Monday, June 24, 2019 8:39:25 AM UTC
Is there a page some where that lists and describes the various difference config settings?
I've taken a quick look on the Github page for the project (along with upvoting the UI and putting settings in user profile not in the horrible win app location) but can't really find it. I've also followed various links from this post.
Peter
Monday, June 24, 2019 3:54:12 PM UTC
I second Byron Adams comment - I typically will be in a folder and type either cmd or powershell in the address bar to open the respective shell in the current path. If this could also do that, it would be *perfect*
Zeph
Monday, June 24, 2019 4:04:43 PM UTC
config info is here, for those looking


https://github.com/microsoft/terminal/blob/master/doc/cascadia/SettingsSchema.md
zeph
Tuesday, June 25, 2019 3:05:45 AM UTC
If any of you use the Dracula theme like I do everywhere, I've set it up for my terminal and put it in a repo out there.

https://github.com/thismat/windows-terminal-dracula-theme
thismat
Tuesday, June 25, 2019 7:05:08 AM UTC
Is there any information on the update frequency of the preview version?
Patrick
Wednesday, June 26, 2019 7:46:10 AM UTC
Be warned that this version is unusable with most non-US keyboards, due to an issue that breaks all AltGr+key combinations.

See https://github.com/microsoft/terminal/issues/521
Stéphane BARIZIEN
Wednesday, June 26, 2019 2:01:34 PM UTC
thanks bro for such great work.... nomi
Thursday, June 27, 2019 3:39:00 AM UTC
Why does this have to be a Windows Store app?! The worst platform ever created for anything.
Andrew
Sunday, June 30, 2019 8:26:34 AM UTC
Agreed on windows store. Why??? I have windows 10 enterprise edition (from MSDN!) and it doesn't install, saying that my windows version is too old (but it's up to date according to windows update).
Karl
Wednesday, July 03, 2019 1:51:36 AM UTC
Thanks for the info and your profiles.json file Scott!

It's worth noting that you must have all the fonts mentioned in profiles.json installed on your system. Otherwise, Windows Terminal will silently fail to start.
Wednesday, July 03, 2019 10:01:42 AM UTC
Hi, Scott. This is great, I have long to have it.

Thanks for the heads up, and do enjoy your day.
Wednesday, July 03, 2019 6:44:35 PM UTC
it seems that no matter what i do, setting a background image/gif via backgroundImageOpacity makes that opacity in front of a white background, no matter what i have background set to (#000000 for example). ANy idea how to make the opacity fade to black, and not white?
Michael Gerety
Comments are closed.

Disclaimer: The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.