How to make the ultimate Terminal Prompt on Windows 11 - This video is LONG and WORDY and DETAILED

Поделиться
HTML-код
  • Опубликовано: 13 окт 2021
  • If I had more time I would have made it shorter. This is taking a Windows 11 machine basically from scratch and getting a perfect PowerShell prompt with OhMyPosh and Windows Terminal as well as WSL and Ubuntu.
    If you are looking for a quick how-to, click away. This is a rambling 1 hour long experience. Welcome to my brain.
  • НаукаНаука

Комментарии • 635

  • @shanselman
    @shanselman  2 года назад +222

    Blog post www.hanselman.com/blog/my-ultimate-powershell-prompt-with-oh-my-posh-and-the-windows-terminal

    • @AdamsTaiwan
      @AdamsTaiwan 2 года назад +6

      SysInternals Suite is now in the store. I wish they would have put the tools in a start menu folder.

    • @lifeiscontent
      @lifeiscontent 2 года назад +2

      thanks for this post, would you mind doing an update on your gpg post? I'd love to learn how to get gpg+yubikey working in WSL in windows 11, seems fairly tough to do currently.

    • @alejandrogomez4142
      @alejandrogomez4142 2 года назад +1

      This tutorial is awesome but, do yuo have the terminal icons but for ubuntu?

    • @SakibAhmedSkB
      @SakibAhmedSkB 2 года назад

      this command broke my Power Shell. Now it crashes at startup.... IDK how to uninstall it without being able to launch the PS!!!
      "Install-Module -Name PSReadLine -RequiredVersion 2.2.0-beta2"

    • @davestone2792
      @davestone2792 2 года назад +2

      @@SakibAhmedSkB I ran afoul with this as well at the 43 minute mark with the whole 'PSReadline' bits. (Terminal broke and I could no longer execute any commands in Terminal to try and fix the issue.) I got back to 'normal' by executing the following - as an *ADMINISTRATOR* in a *CMD* prompt - instead of Terminal -> > > pwsh.exe -noprofile -command "Install-Module PSReadLine -Force -SkipPublisherCheck -AllowPrerelease"

  • @left2dotnet917
    @left2dotnet917 2 года назад +297

    At some moment i find myself thinking "He is literally IT Bob Ross", lol

  • @ShahinHemmati2020
    @ShahinHemmati2020 2 года назад +286

    I think the best parts of this video were the parts that you made mistakes and showed us your thought process.
    I personally think this kind of teaching style is more useful and actually more time saving!
    And please don't say sorry for being a perfect teacher. 💙

    • @TaqiUlAbrar
      @TaqiUlAbrar 2 года назад +8

      Couldn't agree more, Well said.

    • @danielkemmet2594
      @danielkemmet2594 2 года назад +4

      Completely agree I feel luike you learn from the mistakes you think through yourself and with others and over time taking that approach makes you more valuable than someone who can only follow a prompt or "escalate"

  • @thedrunknmunky6571
    @thedrunknmunky6571 2 года назад +3

    Dear Scott, I was introduced to your channel just recently. I appreciate the slow but thorough pace of your content. I believe I prefer getting a more comprehensive answer to my problem than a faster one. Your series on “Computer Stuff They Didn’t Teach You” has been a wonderful resource to fill out some gaps in my knowledge as well as a great resource to look for additional answers to new questions. Keep up your good work! And keep going slow.

  • @joshuavaughan6857
    @joshuavaughan6857 2 года назад +18

    Scott, excellent video. I think this style of teaching is an amazing way to teach people, and to teach them to find solutions to the problems they may face. I would enjoy seeing more of these! Thank you.

  • @narcolepsypumpkin
    @narcolepsypumpkin 2 года назад +8

    Honestly the most productive couple of hours I have spent in a while, thanks to the well paced, no assumption, approach I have a much better Windows 11 setup. Thanks Scott !

  • @jsbarrett88
    @jsbarrett88 2 года назад +2

    Absolutely appreciate videos like this, and no need to apologize about the length ... since it's a recording we can skip around or play at 2x speed if we want to skip sections we're less interested in. But so many good learning moments in here.

  • @DenatusDotCom
    @DenatusDotCom 2 года назад +6

    I loved the "break" at 23 minutes for live two factor authentication. It's so important to have a sound and positive attitude towards security.

  • @mohammadfariduddin9310
    @mohammadfariduddin9310 2 года назад +1

    Scott, you are the man!
    I really love your contents.
    Though I had already customized my windows terminal following your previous videos but really enjoyed this 1 hour journey 😊
    Great video Scott !!

  • @guyprovost
    @guyprovost 2 года назад

    Just LOVE those slow and detailed vids! Also got a few extra tips on Windows at the same time! Thanks for the awesome Scott!

  • @francisconavarro3890
    @francisconavarro3890 2 года назад

    It’s always valuable to take the crawl, walk, run approach. Thanks for being detailed oriented Scott!

  • @AlexMang
    @AlexMang 2 года назад

    This WAS fun, Scott! Learnt a lot following this video closely and redoing everything you did on my work machine, on a Friday evening. Keep `em coming!

  • @osempo
    @osempo 2 года назад

    I love your blogs and videos on terminal Pimp, they're the últimate resource for gettint my terminal blazing cool! Thanks Scott, greetings from México!

  • @TotiTolvukall
    @TotiTolvukall 2 года назад +3

    Thanks for a good time. The good thing about watching uncut howtos like this is you always learn something, no matter how much you think you know (thanks for ZoomIt and the Powershell hotkeys!) - and you learn to know the person better as well.
    My hat is off to you sir! :) Cheers!

  • @awright18
    @awright18 2 года назад +1

    I learned many windows incantations that I didn't know before from this. It was nice that you called out the keys when you would do something interesting. Also its nice to see you make mistakes and correct them on the fly. I'm sure this will come in handy for me and many others when we set up new machines. Thanks!

  • @V1Tz
    @V1Tz 2 года назад +35

    I could watch this all day, I think you should do all your guides uncut and just learn along with the audience.

  • @krishnatejaamilineni
    @krishnatejaamilineni 2 года назад +1

    Fantastic video. Each time I go through your videos, I keep learning something new. Thanks a lot Scott!

  • @jasonmorales5686
    @jasonmorales5686 Год назад +1

    Wow! One of the best tutorials I've ever seen! Love your teaching style! You earned my subscription.

  • @zlyfer
    @zlyfer 2 года назад

    Great Video! Honestly I was also hoping to find a script in the description when I first clicked on the link. But I respect the fact that you wanted to do it slowly and actually teach how to do it. For everyone who doesn't want to watch the whole video I can say: It's well worth it!

  • @micleh
    @micleh 2 года назад

    That was a cool tutorial and I enjoyed every second of it. It is quite educational to see somebody's workflow, and yours is swift and effective (in spite of you claiming otherwise several times in your video).
    Thanks for sharing your knowledge.

  • @xaviojedasanchez1142
    @xaviojedasanchez1142 2 года назад

    Hi Scott thank you very much, im from spain and i've learnt so much of powershell just by seeing your set up.
    Your way is the best way to teach someone in my opinion.
    Cheers and thanks a lot for yout content!

  • @nuculabs
    @nuculabs 2 года назад

    Thank you for making this! I have learned lots of cool tricks from your RUclips channel over the last years. You convinced me to install Windows on my PCs.

  • @techtipsuk
    @techtipsuk 2 года назад +10

    I love these unedited videos as they are more like the way we all work. Scott I’ve learnt loads of tricks from you thank you.

  • @matthewpaulosky8656
    @matthewpaulosky8656 Год назад

    I really enjoyed this video! You seem to make the complex doable, with trouble shooting issues on the fly interesting, this was a great learning experience!

  • @JonathanSwiftUK
    @JonathanSwiftUK 2 года назад +1

    Just excellent. Saved me jumping all over the net to find all the settings and things I need for a great setup.

  • @ecwb
    @ecwb 2 года назад

    Cheers Scott, always love your video delivery and your videos never look slopey always professional to me, thanks for putting this one together really appreciated.

  • @broskmenmi1341
    @broskmenmi1341 2 года назад +1

    Loved this, thank you for such a detailed and informative video. Also, as usual loving the calm approach you present information.

  • @Jamesatighe
    @Jamesatighe 2 года назад

    This is awesome. These improvements really make my terminal look and feel soooooo much better!

  • @MurtazaMotorwala53
    @MurtazaMotorwala53 2 года назад +1

    Just the kind of video I was looking for.. I have always loved all your videos and especially the ones you do on Mechanics.. Respect and thanks

  • @dazecm
    @dazecm 2 года назад +2

    Just started on my web developer journey today and had my WSL Linux environment all decked out and ready for life in my coding BootCamp thanks to your other videos. Watched this from start to end and now have all that PSReadline completion goodness working too. Thanks for sharing and making a web developer newcomer's life that little bit easier :)

    • @3Drewski
      @3Drewski 2 года назад

      Were you able to get the terminal icons working? I am also using WSL Linux, and can't firure out the unix command equivalents (35:00)

  • @bkaankose
    @bkaankose 2 года назад +31

    Delightful tutorial packed with information. I'm so glad that I didn't skip to the end and watched the whole video! Comparing to most content creators usually you'll end up with bunch of time wasters for monetization but Scott Hanselman always finds a way to make it fun and easy.

    • @0xdawg754
      @0xdawg754 2 года назад

      But can we invest with him in bitcoin mining?

    • @stolensentience
      @stolensentience 2 года назад

      I skipped to the end and skipped to the middle after that then skipped to the beginning and then literally watched it back to the part right before the end.
      I know. A wild ride, indeed.

  • @44mod
    @44mod 2 года назад

    Absolutely Awesome!! I just set all of this up on my window 10 and I love it. I learned so many tricks from watching this video. I am going to watch another one of your videos. I think Git 101 basics will be the next adventure. Thanks Scott for your time and may God Bless you in everything you do!

  • @jayhu6075
    @jayhu6075 Год назад

    So as always thanks for the patience to learn us about Posh and command prompt to Make Up our screen. One of the best Posh explanation. Keep going with your good job.

  • @thomasbates9189
    @thomasbates9189 2 года назад

    I learned a lot from this thank you so much! I really appreciate you walking through this in real time without editing!

  • @valehettlinger7708
    @valehettlinger7708 2 года назад +4

    This is the first video of yours that I've watched and it is super great. I loved the "low and slow" approach which allowed me to follow along and configure my machine as well. One additional thing that I'd love is if powershell could update the title of the tab to the hostname of a machine I ssh into. I've found plenty of easy solutions for bash involving .bashrc, and they do work for me, but I'd prefer to not have to run the bash command to drop into WSL before I ssh. Thanks!

  • @rickardrobin6975
    @rickardrobin6975 2 года назад

    PERFECT! Been wanting to dump the old cmder/conemus and use the new Windows Terminal and WSL but it´s been sooo much setup. Thanks a ton @Scott for a clear guide! Haven´t watched it all yet but I´m hoping to build a portable dev box with all this set up, to share and re-use on different boxes.

  • @CodeJeffo
    @CodeJeffo 2 года назад

    I love the way you structured the video. Just great!

  • @edithfloure7894
    @edithfloure7894 Год назад +1

    Thank you so much Scott for saying the Ubuntu correctly and respecting our language. As a South African I think you are a genius. Thank you. People don't even want to know what that name is from.

  • @infiniteone783
    @infiniteone783 2 года назад

    1-hour rambling? More like 1-hour of honest, thorough, and worthwhile tech tips. I appreciate it good sir! :)

  • @msharafi86
    @msharafi86 2 года назад

    I was wondering how to customize the windows terminal like the powerlevel10k in MacOS but here I found what I was looking for. This is the most informative tutorial I got for Windows terminal. Now, I am doing the assignment for Ubuntu terminal 👍. Thank you for all information you provide for us.

  • @markusherkommer2662
    @markusherkommer2662 2 года назад

    Thank you so much. Very detailed and important to go with you through the possible errors. And it shows that you are a human too and also have errors when setup things... And it is never boring to listen to you!

  • @TheJoBlackos
    @TheJoBlackos 2 года назад

    Great video, I like the format. Keep doing more of those videos, there is always something new we can see even after years of coding

  • @Seijakukun
    @Seijakukun 2 года назад

    I've been watching a few of your videos and you're EXCELLENT at explaining!!

  • @Llyrian2
    @Llyrian2 2 года назад +8

    I love that I'm not the only who gets stressed out by icons on the desktop! I try to minimize them as much as possible. I didn't know you could hide them and show them like that!

    • @LimitedWard
      @LimitedWard 2 года назад

      You're not alone. Desktop icons are the worst imo. Keeping stuff on your desktop just gives you an excuse to keep your files disorganized. And the only other mildly useful things on there are app shortcuts which are made entirely obsolete by the search feature.

  • @karlrice2265
    @karlrice2265 2 года назад

    As somebody returning to Windows after circa 6 years on a Mac this is invaluable and will really help me get back up to speed! Thank you!

  • @InathiM
    @InathiM 2 года назад +1

    I appreciate that you mentioned the correct pronunciation of the word "Ubuntu" - I'm a Xhosa speaking South African and have always had a problem with "Ubhantu" pronunciation of the word.

  • @scottregitz1194
    @scottregitz1194 2 года назад +1

    This was a very good walk-through, whether you are familiar with this or not. Great job, as usual, Scott.

  • @frankiev1785
    @frankiev1785 2 года назад

    Awesome walk through Scott!

  • @Bucky_B
    @Bucky_B Год назад

    This was Awesome. As someone new to PS this was the best steps that taught me some of the settings that I was struggling with customizing PS.

  • @HECOMetas
    @HECOMetas 2 года назад +7

    I learned a lot about customizing your terminal today. Thanks :)

  • @nandinibalyapally3388
    @nandinibalyapally3388 2 года назад

    How do I thank you in a better way. You know what, you actually "taught me fishing instead of giving a fish" and I'm extremely happy for the fact that I learnt how to think when I end up with a bunch of errors. I really thank you from the bottom of my heart for doing this kind of video.

  • @oveamin
    @oveamin 2 года назад

    One of the best demos I have seen. Very impressive.

  • @rdstevens1
    @rdstevens1 2 года назад

    Yes ! Showing the mistakes and how to fix them is the most important teaching tool. Much more valuable than I yet another slick demo.

  • @juandavidhernandez3919
    @juandavidhernandez3919 2 года назад

    No, it wasnt bored at all, I really appreciate this kind of tutorials thank you man

  • @letsgoooo361
    @letsgoooo361 2 года назад +85

    I've been waiting for this kind of tutorial, I recently switch from macos. I love windows 11 so much and I wanted to customize the terminal but I don't know how. this is exactly what I needed thank you thank you thank you very much

    • @keikenhate
      @keikenhate 2 года назад

      Install kitty, problem solved!

    • @techtipsuk
      @techtipsuk 2 года назад

      @@keikenhate only available for Mac and Linux

    • @keikenhate
      @keikenhate 2 года назад

      @@techtipsuk alacritty ?? :)

    • @arpitgoyalgg
      @arpitgoyalgg 2 года назад +1

      From macos to windows? Why?

    • @letsgoooo361
      @letsgoooo361 2 года назад +7

      @@arpitgoyalgg graphics programming, everything in windows just works

  • @aaronsmith6773
    @aaronsmith6773 2 года назад

    Thanks Scott. This video was not too wordy for me. It was extremely helpful and I learned a ton.

  • @adriankelly_edinburgh
    @adriankelly_edinburgh 2 года назад

    As a long-time Windows developer I've got a highly-customised powershell profile as it is, but some of this stuff takes things to a new level. Thanks!

  • @cmkeller
    @cmkeller 2 года назад

    Thank you for this... it is such a natural and in my opinion easier way to learn about new topics. I hope that we'll see more of this type of instructional video in the future. Thanks you!

  • @user-uq5qw1fk3d
    @user-uq5qw1fk3d 2 года назад

    Thanks Scott! I prefer these long-format unedited videos.

  • @TheEmperorXavier
    @TheEmperorXavier 2 года назад

    I really enjoyed this video, learn soo much from just watching you use the command line and the troubleshooting, which I think was the most important part of this video

  • @MichaelProcario
    @MichaelProcario Месяц назад

    I really enjoyed this. I like to learn how these work. I can start slowly and add things as I go.

  • @BekBrace
    @BekBrace 2 года назад +1

    Thanks Scott for this awesome practical guide .. and I set my terminal exactly like this .. feels great

  • @tusarpalauri5048
    @tusarpalauri5048 2 года назад

    That was SO COOL , full of useful stuff. Keep doing the good work. You are an amazing teacher👍

  • @liamfoneill
    @liamfoneill 2 года назад +1

    Hey Scott, great video! Will be using some of these this weekend.
    I also have the same microphone as you (Shure-SM7B) and one thing I found with that mic is you can get much better audio vocal quality if you keep it closer to your face (you can even turn that gain down a little bit if you have a fairly powerful amplifier). Doing this also has the benefit of much better background noise isolation without having to resort to something like RTX voice. Elgato make a nice low profile microphone arm that comes up low from your desk so you can have the mic closer without it dominating the frame of your video :)

  • @Eidan78
    @Eidan78 2 года назад

    I basically never comment on RUclips since the beginning. But this time...I must. I am a long time mac and linux user. I'm also into coding and learning etichal hacking. I still use my macbook pro late 2013 and I just ordered my first windows pc in 30 years yesterday. Of course I tried windows 11 recently and I was impressed. I also was impressed by WLS. The first thing I looked for is how to set up a proper linux bash shell environment in windows and I found out your tutorial. After watching it I'm impressed and I subscribed immediately. You also demonstrate I basically don't need vms anymore. I am a long time oh my zsh user but I love oh my posh now after watching this. Thank you very much sir!

  • @khidesu
    @khidesu Год назад

    This is an amazing tutorial with a clear explanation so far, surely recommended.

  • @noelcovarrubias7490
    @noelcovarrubias7490 2 года назад +2

    Thank you so much Scott. Just watched the first 15 mins and will finish it after my reading session.

  • @shutinyanks
    @shutinyanks Год назад

    wow the drop down list of commands is powerful - I'm starting to see a lot of application coded with this feature so useful.

  • @che-weihsieh975
    @che-weihsieh975 2 года назад

    Gotta love all the details. I adore this video so much.

  • @kksrinivas24
    @kksrinivas24 2 месяца назад

    Great video. I discovered lot of new things in this video. and now my terminal looks cool. All thanks to you !!

  • @PCB389
    @PCB389 Год назад

    Amazing job. I got the very bad luck of trying this while PSGallery was down, so I had to use scoop for downloading Terminal-Icons, and had to wait around 2 hours to complete the part with PSReadLine.
    But as you mention, those are opportunities to learn.
    I will be preparing my terminal for Rust and Data Science.
    Thanks for the video, subscribed right away!

  • @technikhil314
    @technikhil314 2 года назад

    You are such an inspiration sir. Thanks a lot for clearing out all basics and basic setups.

  • @adnitr
    @adnitr Год назад

    Really really nice video. Excessively detailed. Also learnt some problem solving skills. Thanks Scott. I get inspired by you.

  • @guoliangwang4826
    @guoliangwang4826 2 года назад +1

    This is what the first thing to do when dell push upgrade for me. Very thanks Hanselman, great video!

  • @ScrotumPole
    @ScrotumPole 2 года назад +1

    this is perfect, its what I need to understand what and how things work, i wish more vids were like this. thankyu thankyou

  • @zezeandjr4110
    @zezeandjr4110 2 года назад

    Fantastic tutorial, had to pause few times just to think things through, the end product, Beautiful, SH = National treasure.

  • @ROLOGamingOfficial
    @ROLOGamingOfficial 2 года назад

    Thanks a lot, used it to make Windows Terminal my default terminal for WSL Ubuntu and looking awesome!

  • @thefirstamendment1791
    @thefirstamendment1791 2 года назад

    Great video! Thanks a lot for the slow approach. I learned a lot and I will show off the beautiful Windows Terminal to my friends ;). But of course, with BIG credits to you!

  • @4bbiss
    @4bbiss 2 года назад

    I’m so happy I came across your channel.

  • @DivisPetr
    @DivisPetr 2 года назад

    this is the TRUE demo🔝 I love watching Scott solve obstacles in the way😂

  • @CarusKyle
    @CarusKyle 2 года назад

    I know it's titled how to make the ultimate prompt, but really this video is full of many other small things that have greatly improved my workflow.

  • @k.m.rajibfaysal917
    @k.m.rajibfaysal917 2 года назад

    I appreciate your effort, Sir. Thanks for the detailed instructions.

  • @MatthewMcGuff
    @MatthewMcGuff Год назад

    As a developer, you spend everyday in your shell. Making it place you want to be and be productive is huge. Honestly, I had been staying in git bash in windows simply for getting the path and git metadata. Now I don't have to do that and I can get basically make it look and feel how ever I like. Great Video Scott!

  • @victoremmanuel7811
    @victoremmanuel7811 10 месяцев назад

    Thanks a lot, the details were necessary. I've learnt a lot. I did mine just pasting codes without knowing what the code does. Watching this can help me replicate this without the aid of any video guide.

  • @john-r-edge
    @john-r-edge Год назад

    Great video. I have watched this now several times and i think i have now absorbed the wisdom.
    I have included the Python segment (see OhMyPosh documentation for Segments for the Python bit. That shows both the Python version and the environment value set by Conda. Once that is in prompt there is a once off config which disables the display of the envt as s prefix to default prompt.

  • @69memnon69
    @69memnon69 2 года назад

    Love that you call out the correct pronunciation of Ubuntu!

  • @sudo.2
    @sudo.2 2 года назад

    Your explanation so straight and clear. I hope in future you teach us some basic programming language i.e: python, java etc.

  • @bobjesus7768
    @bobjesus7768 2 года назад

    Thanks a ton Scott! I found the video very helpful and informative, and even learned some new things along the way.

  • @abdulmunir3662
    @abdulmunir3662 2 года назад +1

    love this hangout ...

  • @MrEvansjethro
    @MrEvansjethro Год назад

    Oh sweet! Thank you so much Scott. I'm Zulu and this is for the first time hearing someone, particularly an American pronouncing correctly and knowing the true meaning of "Ubuntu" Linux. Ubuntu means humanity.

  • @john-r-edge
    @john-r-edge 2 года назад

    And kudos for consistent use of the zoom-in so the text on screen is readable even on a phone in portrait. A lot of otherwise good content from other RUclipsrs is less effective. Thank you.

  • @sumanpanda157
    @sumanpanda157 2 года назад

    That was really fun to go through the whole process. Thank you

  • @borasumer
    @borasumer 2 года назад +1

    Incredible walkthrough, not only I set up my powershell nicely, I learn tones of stuff in that hour. Instant subscribed. I was going to ask how do you get the unicode icon previews in your VSCode in the json files? Must be an extension.

  • @lucasgabule
    @lucasgabule Год назад

    It's not boring. This super awesome. Thanks for sharing :)

  • @Axristosgr
    @Axristosgr 2 года назад +3

    Amazing Video-Tutorial!! Thank you for that!
    Quick tip for Google for not showing the right results in 37:55. Using the minus symbol actually tells the engine NOT to include results with the specific keywork. So there are no results with the word "PredictionViewStyle". Adding quotes around it tells the engine to look exactly for what's in the quotes and it does not parse it!

  • @longuinni
    @longuinni 2 года назад +1

    The first thin that I do in a new machine is to turn on Dark Mode =]
    Great video Scott, thanks for sharing all that knowledge.

  • @evilprince2009
    @evilprince2009 2 года назад

    So detailed and instructive tutorial. You rock man !!

  • @Abbatyya
    @Abbatyya 2 года назад

    This is the best video on internet of this type, you won a subscription

  • @hhk0174
    @hhk0174 2 года назад

    Well, Sir You are Awesome. you don't know how much I've learned from your setup. Thanks

  • @Fabiola11
    @Fabiola11 2 года назад

    Thanks for sharing this Scott, I wanted to create my own theme, and this video is very helpful.