My Top Tips for using Windows Terminal like a Pro

Поділитися
Вставка
  • Опубліковано 1 гру 2024

КОМЕНТАРІ • 125

  • @nilesh-gule
    @nilesh-gule 2 роки тому +43

    As always a great set of tips for Windows Terminal. I learnt following new things
    1 - CTRL + Shift + mouse scroll to change the transparency
    2 - CTRL + L to clear the screen
    Thanks Scott for sharing these

    • @aaronmorgan4466
      @aaronmorgan4466 2 роки тому +1

      Guess I wasn't pay close enough attention because I've learnt CTRL+L from you :) Maybe I was to engrossed setting my Close Tab action...

    • @Rhodair
      @Rhodair 2 роки тому +1

      @@aaronmorgan4466 yeah, it got casually slid in there, so a blink and you miss it moment hehe 7:10
      just learnt it myself and will be nice having something faster than typing 'clear' each time

  • @bity-bite
    @bity-bite 2 роки тому +1

    Yesterday I was browsing your channel for a video about the Windows Terminal! Thank you!

  • @StephenHelwigTalksTech
    @StephenHelwigTalksTech 2 роки тому +1

    Very timely. Got a new Surface Laptop and was using your old articles and videos last night to setup oh-my-posh and the terminal. Lots of new nuggets in this vid.

  • @acidhauss7018
    @acidhauss7018 2 роки тому +3

    I'm an SPFX developer and reaped massive amounts of benefit from WSL2 + Windows Terminal - took a while to setup but never looked back.
    Thanks for all the tips and tricks.

  • @amirmir3244
    @amirmir3244 2 роки тому +3

    This will be my first ever live on Windows Terminal, looking forward to learning some tips and tricks

  • @CodeWhizbang
    @CodeWhizbang 2 роки тому +8

    Watching this on Arch Linux.

  • @phucnguyen0110
    @phucnguyen0110 2 роки тому +1

    Love the Oh My Posh prompt, it's so lovely. I still need some time to follow the video though, but thank you Scott!

  • @boazgalil6425
    @boazgalil6425 2 роки тому +2

    Scott - Thank you - tons of tips! I learned a lot!

  • @Techiesse
    @Techiesse 2 роки тому +11

    Two features that would be nice do have:
    1 - From Cmder -> The ability to save groups of terminals (they call tasks) and reopen them in the same positions, splits and paths. I can even run commands like activatiing my python virtualenvs. Super useful to have my development working tree, my test terminal, my scripts folder and my django application running in separate tabs/panes and I don't need to cd / activate / run everything from scratch.
    2 - From Terminator -> The ability to move the panes and rearrange the terminal splits.

    • @berkarslan
      @berkarslan 2 роки тому

      Regarding your first point; I think you can achieve what you want by simply preparing a Shortcut that runs something like the following depending on your needs of course (you can also execute commands but didn't include it to keep it simple):
      wt ; new-tab -p "Command Prompt" -d C:\ ; split-pane -p "Ubuntu"

    • @Techiesse
      @Techiesse 2 роки тому +1

      @@berkarslan Sure. It's a workaround. But having it managed by the terminal itself is very convenient.

  • @shubhamarora547
    @shubhamarora547 2 роки тому +7

    Sir which tool u use to draw rectangle and draw arrows to highlight something and zoom any area of recording screen please sir tell me😊

  • @FarzadSo
    @FarzadSo 2 роки тому

    I was wondering whether you could make a video on how to backup and restore Windows Terminal settings to keep all devices in sync. I appreciate all the hard work.

  • @x3ICEx
    @x3ICEx 2 роки тому +2

    blood 0:43 sugar in the prompt? ((( this is amazing

  • @saschadeveloper
    @saschadeveloper 2 роки тому

    Really like that tube monitor shader - Cool stuff :-)

  • @Alx-gj2uz
    @Alx-gj2uz 2 роки тому +3

    If you are navigating inside windows explorer and write cmd in the path bar, it will start the terminal from there. If you have windows 11 and default you command line prompt to windows terminal it will show up then.
    @Edit, just found out windows 11 has the command prompt in the right click menu in explorer anyway. But this tip works on older windows versions as well.

    • @bertvv
      @bertvv 2 роки тому

      What a cool tip! I found out this works as well for "bash" (in my case, this opens a Bash shell in WSL Ubuntu) and "pwsh" (for PowerShell)

  • @chyldstudios
    @chyldstudios 2 роки тому +3

    As an Ubuntu user ... I find myself longing for some sweet pixel shader action!

  • @lucasgandara4175
    @lucasgandara4175 2 роки тому

    Hey thanks for this video! greets from Colombia! Loved this video

  • @Alpha-lj6wc
    @Alpha-lj6wc 2 роки тому +1

    Hello sir, Can you please make a video about GUI programming? Just the general idea would be good. I am a beginner at programming. The program we do at first is all about cli/consle program. How does the gui work?

  • @osmantas369
    @osmantas369 2 роки тому +1

    Could you please share the annotations tool you are using for drawing rectangles and arrows?

    • @korianderify
      @korianderify 2 роки тому

      Looks like he’s using zoomit for the zoom/drawing/arrows.

  • @maxmuster7003
    @maxmuster7003 7 місяців тому

    I have a question: Is it possible to change the character set of a specific size with a monochrome picture to display the picture inside of a block of character on the Windows terminal?

  • @patrickkhwela8824
    @patrickkhwela8824 2 роки тому

    Very helpful tips, thanks Scott!

  • @banasthalividyapithevents
    @banasthalividyapithevents 2 роки тому

    Hello sir , please make a video on how we can use external adapters on Kali Linux wsl in Windows?

  • @robertfish
    @robertfish 2 роки тому

    Very curious to know what your specs are for your machine?

  • @henrikhansson4295
    @henrikhansson4295 2 роки тому

    Nice tips, Is there any easy way to highlight/color text for network devices like Cisco/Juniper/Arista?
    I know Iterm2 and securecrt has it

  • @atikenny
    @atikenny 2 роки тому

    Scott your are amazing, as always! You are the only reason why I would consider moving back to Windows!

  • @dtnguyen75
    @dtnguyen75 2 роки тому

    Love the wall background? What wall paint color did you paint your room?

    • @shanselman
      @shanselman  2 роки тому +1

      Deep Chocolate Brown, then I have a LED light from LIFX

  • @movie7815
    @movie7815 2 роки тому

    When I launch the windows terminal by the command "cmd", I dont get the "+" sign or the dropdown on the title bar as you have. Im on Windows 11

  • @kenchang3456
    @kenchang3456 2 роки тому

    Nice set of tips, thank you very much.

  • @karadenizfamily
    @karadenizfamily 2 роки тому +2

    Thank you @Scott!! I may switch to this (from ConEmu) if I can find a way to have a transparent background like in default Windows terminal. Is there a way to have that, meaning no blur but true transparency?

  • @jaymuraleedharan
    @jaymuraleedharan 2 роки тому +2

    Thanks Scott, you are a godsend! By the way, I felt you were squinting when looking at your monitors - maybe its too dark :-)

    • @shanselman
      @shanselman  2 роки тому

      Lol no I need my reading glasses. Plus I have beady eyes. 😂

  • @apdy27
    @apdy27 2 роки тому

    Folder drop was something new! I was wondering if there is a way to open a new tab/pane with the current directory, so that it is not required to change to the particular location after creating a new tab/pane? Thank you for the high quality and knowledge full videos!

  • @Gett37
    @Gett37 Рік тому

    yeah, following hyperlinks and enabling CRT simulation is absolutely pro

  • @NiamorH
    @NiamorH 2 роки тому +1

    I use the Split Horizontal and Split Vertical all the time.
    I always reach for the command palette ctrl + shift + p and type 'split' though, because I can't remember the shortcuts for those and I don't want to use the mouse. Too lazy to setup new shortcuts.
    ohmyposh is nice but really slows down the reactiveness of the commands...

  • @gower1973
    @gower1973 2 роки тому

    When you where in the Json file, how did you add the colour picker instead of writing the hex value?

  • @PaulAndBrodie
    @PaulAndBrodie 2 роки тому

    Which version of windows terminal do you recommend/use from the store? One may install 'Windows Terminal' - currently v 1.11.3471.0 or 'Windows Terminal preview' - currently Version 1.12.3472.0.

  • @ericfalsken5188
    @ericfalsken5188 2 роки тому

    I'd LOOOOOOOOVE to be able to make ONE TAB an admin tab. Or a setting so that future console windows (like those opened by VS) can be added as tabs to an existing window.....

  • @samlebon9884
    @samlebon9884 2 місяці тому

    Can I use it to edit PowerShell scripts? I mean does it integrate an editor like the one in VS Code?

  • @LudoTechWorld
    @LudoTechWorld 2 роки тому +2

    Nice tips! I'm really happy with Windows Terminal so far, I just wish we could set more than one font or fallback fonts (but I remember seing something about that on github so maybe it's something in developement), and a way to disable some dead keys (I'm using a European keyboard) but to my knowledge no terminal handle this correctly so maybe it's an impossible task. Thanks for the video!

  • @amoenus_dev
    @amoenus_dev 2 роки тому

    Any tips on how to broadcast same command to multiple tabs/panes (e.g to apply same command to multiple ssh sessions)

  • @samwise8731
    @samwise8731 2 роки тому

    May I know the name of the software you used for recording in your videos? I notice you can draw arrows live to show us where we should look at. That's the feature I'm looking for.

  • @mikey803
    @mikey803 2 роки тому

    Thanks for the tips. I just started using this new Windows Terminal and am becoming a huge fan of it. I do have one question or tip. Is there a way to open a command or powershell in admin mode using the new windows terminal?

  • @juhak
    @juhak 2 роки тому

    Is there a fix yet for slow responsiveness of ctrl+c when terminal is getting flooded with input?

  • @AdalbertoHernandezVega
    @AdalbertoHernandezVega 2 роки тому

    Great tips. You mentioned in one of your Git videos about using VSCode instead oif Vi when Git shows you a txt file. i/e/ when typing the output of git log. Is that a setting in Windows Terminal or is it of git?

  • @fryt2744
    @fryt2744 Рік тому

    How to use error highlighter in terminal and the ai autocompleter?

  • @freddysanchez2225
    @freddysanchez2225 2 роки тому +1

    I love the possibility to split panes, is there a way to do a split pane but instead of opening a new pane of the same profile (e.g. powershell), make it that another profile is opened?
    Btw, I love your videos! I've learn so much from you.

  • @ayush.kumar.13907
    @ayush.kumar.13907 2 роки тому

    is this version only available in windows 11, cause i don't see these options in my terminal in windows 10 and my PC is not yet eligible for Windows 11 upgrade?

  • @mattcargile
    @mattcargile 2 роки тому

    More Hansel-inal?! I’m in!

  • @stolensentience
    @stolensentience 2 роки тому

    There’s a couple things keeping me from switching from conemu to this.
    Currently I am unable to open a new prompt in the same directory as the one I’m currently in. Is this possible?

  • @CraigArtley
    @CraigArtley 2 роки тому

    Thanks for pointing out the drag & drop of files from Explorer to open a new tab with the default profile in that directory. Is there a way to select another profile when doing that, or does it only work for the default? Also, drag & drop is not allowed for Administrator sessions-is that configurable?

  • @codetonic_arush
    @codetonic_arush 2 роки тому

    hey Scott, would you please tell me, how you switch your mouse pointer into a selector and shape maker...

    • @shanselman
      @shanselman  2 роки тому

      Use ZoomIt from sysinternals

  • @veepee78
    @veepee78 2 роки тому

    Any tips how to open terminal or pane as admin if you are logged in as normal user? Run as admin asks adm creds two times and then says "cannot do".

  • @coupmd
    @coupmd 2 роки тому

    Great tips, thanks for the overview. I would love some ideas about getting in/out of administrator mode easier. Like for example, it would be super ideal to have a keybind that opened a split tab that was an administrator. Thanks for the video!

    • @shanselman
      @shanselman  2 роки тому +4

      Ah look at “gsudo” and that will solve it for you

    • @fleshlord
      @fleshlord 2 роки тому

      CTRL+Shift click on the taskbar icons gives you run as administrator but I dont think this is what you want

  • @themrhead
    @themrhead 2 роки тому

    How OhMyPosh works on a lot of videos/demos, but whenever one tries to install and setup it`s all about bugs?

  • @codenameunknown3791
    @codenameunknown3791 2 роки тому

    Scott i just wanna say: you are amazing. That's all. That's the comment.

  • @geogreenmanu
    @geogreenmanu 2 роки тому

    @scott When I open Vs developer tools as Admin, the old cmd promt comes up instead of windows terminal. Any solutions for this?

    • @shanselman
      @shanselman  2 роки тому +1

      Take a look and see if a developer tools are in your terminal menu? Or try installing terminal preview. We should have a detector that that notices the developer tools and add some of the menu item in Terminal. And soon in 11 Terminal will be the default.

  • @ArifulIslam-ef8rf
    @ArifulIslam-ef8rf 2 роки тому

    Hey Scott, wsl2 in windows 11 terminal download very slow. Like when I try to download some packages it's very slow to compare Linux terminal.

  • @rgsiiiya
    @rgsiiiya 2 роки тому

    Interesting...When I do alt-Setting...the defaults file states on line 1:
    "// THIS IS AN AUTO-GENERATED FILE! Changes to this file will be ignored."

  • @pilotboba
    @pilotboba 2 роки тому

    @scott Might I suggest you change the bg color of your dotnet prompt segment to the official logo branding color of #512bd4 ? You used the same color as the node segment which causes them to run together. (I know you don't have the node segment in your theme.)
    Also, purple seems to be the color of dotnet, probably because it is the color of royalty. :)

  • @farzadmf
    @farzadmf 2 роки тому

    This terminal has been getting better and better with lots of potential; too bad it's Windows only

  • @MrMarcLaflamme
    @MrMarcLaflamme 2 роки тому

    Why did you use double backslashes when specifying the path to the shader?

    • @shanselman
      @shanselman  2 роки тому

      Because \ when inside a string mark the start of an escape sequence, so
      is a new line for example, but \\ is a single backslash

    • @MrMarcLaflamme
      @MrMarcLaflamme 2 роки тому

      @@shanselman Ah okay I thought that might be the case but wasn't sure. Thanks Scott!

  • @CyberAutomate
    @CyberAutomate 2 роки тому +1

    My 2022 New Year resolution is to level up my ZoomIt ninja skills to maybe half your level. 😀

  • @TheBenjimawoo
    @TheBenjimawoo 2 роки тому

    Is there a real benefit to the terminal transparency? I can see obvious accessibility benefits to almost all of the display customisations, settings etc. that are available... except that one. Don't get me wrong - 'Because it looks cool and you can impress your friends' is a totally legit reason for it being there, but I was just curious.

    • @nicksilberstein7969
      @nicksilberstein7969 2 роки тому

      I think it's mostly just because it looks cool. One possible use; you could set the desktop background of servers to certain colors by function or role (for example, production web server is red background). Transparency of even a maximized terminal could help to remind you that you're working on a dev / stage / production server.

  • @memoid7777
    @memoid7777 2 роки тому +2

    Only thing I want is to be able to open tabs as admin without some hacky solution like gsudo

    • @babsNumber2
      @babsNumber2 2 роки тому

      gsudo works well for me. How is it hacky?

    • @memoid7777
      @memoid7777 2 роки тому

      @@babsNumber2 it works exactly right it's just hacky in that I have to add it myself in the first place.

    • @babsNumber2
      @babsNumber2 2 роки тому

      @@memoid7777 Oh okay. I see

  • @Gruggo
    @Gruggo 2 роки тому

    Okay, as usually what a great video. I have to ask, what is that PowerShell Module (Assuming it's a PS Module) you have at 6:25?
    Showing the history of directory changes, that's awesome.

    • @shanselman
      @shanselman  2 роки тому +1

      Yes details on my blog. It’s a history prediction provider. And my profile is in my gists.

  • @kpsinghchouhan
    @kpsinghchouhan 2 роки тому

    I tried "oh-my--posh" to change the terminal prompt. But the prompt became very slow (~ 20-60ms delay). I like the beautiful terminal prompt but cannot compromise on speed. And I have i7, 16 GB RAM and SSD.

    • @shanselman
      @shanselman  2 роки тому

      Likely is the git segment.

    • @kpsinghchouhan
      @kpsinghchouhan 2 роки тому

      @@shanselman Thank you for your response. I noticed that themes "Paradox" and some other themes were slower. I switched to default theme "jandedobbeleer" and it is much better.

  • @JeffreyRutland
    @JeffreyRutland 2 роки тому

    how do you get your command history popping up in terminal? was hoping you would explain that one!

    • @shanselman
      @shanselman  2 роки тому +8

      How about a whole video on my custom powershell profile including that?

    • @JeffreyRutland
      @JeffreyRutland 2 роки тому

      @@shanselman that would be amazing! I’ve taken plenty of pointers with oh my posh, thanks to you… but every time I see your prompt showing suggestions, I’m like ‘that!! what is that??’ 😉

  • @dprastha
    @dprastha 2 роки тому

    very helpful as usual, thanks sir

  • @DeliberateGeek
    @DeliberateGeek Рік тому +2

    Hey Scott! I ran across this again as I was searching for some info. It's not the first time I've seen it, but it's always worth a re-watch.
    I do have a question, though I'm not certain that it's an actual Windows Terminal Question. I was doing a bit of work with setting up some code signing and SSH keys using gpg4win in PowerShell. I needed to work with the KeyId for a particular key, so I assigned it to a PowerShell variable for reference during the session. NP there. The following day, I was going to work with a different key and when I started typing to assign the key ID to a variable (same name - $keyid), the terminal gave me a lovely Intellisense style suggestion to complete the assignment, complete with the ID of the key I was originally working with. I suppose this is really two questions...
    1. Is that a function of PowerShell or the WIndows Terminal?
    2. While I love this sort of Intellisense/Cache thing for most things, I'd like to be able to either clear it manually, or ideally, exclude a given command from it. Can you point me to a resource about how this works and how to control it?
    Cheers, and as always, thanks for your amazing content!

  • @keithnicholas
    @keithnicholas 2 роки тому +1

    the other cool tip is quake mode WIN+`

  • @kienphan6436
    @kienphan6436 2 роки тому

    Thank you!

  • @drj-pp8hw
    @drj-pp8hw 2 роки тому

    Awesome video. What software do you use for recording?

    • @shanselman
      @shanselman  2 роки тому +1

      OBS!

    • @Iose88
      @Iose88 2 роки тому

      ​@@shanselman Hello Scott, thanks for your content, it is fantastic. Which program do you use for zoom, draw rectangular box in the screen? ZoomIt?

  • @TheCreslin
    @TheCreslin 2 роки тому

    Hey Scott (or anyone else that might know)... I love the Windows Terminal. I would like to take advantage of it for work but I am in an odd situation. Our machines are locked down. I have a local admin account but we are not allowed to log in (directly) with that account. We are only allowed to log in with our domain account and run applications (as needed) as an administrator. I can't seem to run specific tabs or Windows Terminal as an administrator. Am I just being ignorant and missing something obvious (wouldn't be unheard of)? Is this something that may be supported eventually?
    In either case, I do use Windows Terminal on my personal machine and appreciate your videos.

  • @TornTech1
    @TornTech1 2 роки тому

    Wow! Its going to take me a while to retrain my brain to do Ctrl + L instead of writing "CLS"!!

  • @Techiesse
    @Techiesse 2 роки тому

    Nice Video.
    Why is your ZoomIt so smooth? When I use it I begin to see the pixels and text quality drops a lot.

    • @shanselman
      @shanselman  2 роки тому

      Update to latest?

    • @Techiesse
      @Techiesse 2 роки тому

      ​@@shanselman I downloaded it like 2 days ago after seeing your super long, lenghty, verbose, detailed video to setup the terminal :). But I'm on windows 10 (maybe the reason?) I'll teak with it a little more to see if I can figure it out.
      Thank you !

  • @frustyak
    @frustyak 2 роки тому

    The ultimate retro effect would be a degauss button :-)

  • @nikkehtine
    @nikkehtine 2 роки тому

    I wish PowerShell wasn't so slow

  • @lawrencedoliveiro9104
    @lawrencedoliveiro9104 2 роки тому +2

    Microsoft is embracing and extending Windows with Linux-like features ...

  • @kevinalexis9886
    @kevinalexis9886 2 роки тому

    Nice!

  • @quantume7143
    @quantume7143 2 роки тому

    Thank you! :)

  • @honzajscz
    @honzajscz 2 роки тому

    Scott, great content, how do I start terminal always as an administrator?

  • @amitnilajkar6272
    @amitnilajkar6272 2 роки тому

    great knowledge!, hey scott are you looking to hire as i m looking for a job, been c# developer. i couldnt find better way to reach you than youtube directly, appologies just in case.

  • @罗伟-f7u
    @罗伟-f7u 2 роки тому

    can share the pwsh $profile file ?

  • @madrum
    @madrum 2 роки тому

    Does anyone else fail to get notifications when Scott posts a new video?
    I have subscribed to “all updates” but I do not get notified by UA-cam and the videos do not show up in the notifications list (bell icon).
    I get notified for other channels, just not Scott’s.

    • @shanselman
      @shanselman  2 роки тому

      Wow I’ve never heard that from anyone else.

    • @madrum
      @madrum 2 роки тому

      @@shanselman it is strange. I disabled/ re-enabled channel notifications, which I’ve done before, but will cross my fingers it works this time.
      Thanks for the great content! My terminals is working very well for me.

  • @NitishKumar-qk3fz
    @NitishKumar-qk3fz Рік тому

    Oops I spotted Matrix path of neo

  • @gardnmi
    @gardnmi 2 роки тому

    One day, windows will just be vscode.

  • @PhrontDoor
    @PhrontDoor 2 роки тому

    They are still using JSONs for configuration instead of an actual configuration system? Kind of weak.
    I'll wait till they get an actual config system. That's so bodgy.

  • @pancakekiemtienonline6562
    @pancakekiemtienonline6562 2 роки тому

    pov: you are noob