Make Windows Terminal look amazing!

Поделиться
HTML-код
  • Опубликовано: 19 июн 2024
  • I will show you how to customize your Windows Terminal (could also be used in Linux or Windows 10). We set up color schemes, fonts, and a cool-looking prompt that you can use for any shell (like PowerShell, zsh, or bash in WSL2) #Windows #WindowsTerminal #WSL2
    My dot files and settings: github.com/christianlempa/dot...
    Teleport-*: goteleport.com/thedigitallife
    Follow me:
    TWITTER: / christianlempa
    INSTAGRAM: / christianlempa
    DISCORD: / discord
    GITHUB: github.com/christianlempa
    PATREON: / christianlempa
    MY EQUIPMENT: kit.co/christianlempa
    Timestamps:
    00:00 - Introduction
    01:14 - Why use the Windows Terminal
    02:23 - Use and configure the Windows Terminal
    05:12 - Teleport (Advertisement-*)
    05:58 - Use Nerd-Fonts
    08:12 - Color Schemes
    09:44 - Prompt for all OS and Shells
    13:01 - Customize your Prompt
    ________________
    All links with "*" are affiliate links.

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

  • @simonbrown3540
    @simonbrown3540 2 года назад +30

    Great video, I'm so glad this popped up on my feed.
    Several hours well spent configuring and customising this across my WSL environments and standardising my terminals. Also led me to install and configure exa which I wasn't aware of but is great.
    A warning to anyone that uses Defender for Endpoint and Attack Surface Reduction rules; starship.exe is blocked by "Block executable files from running unless they meet a prevalence, age, or trusted list criteria". I had to disable this to get it working. I'm hoping that MS implement a way to whitelist applications in the future.
    I also wish there was a way to install Starship without Chocolatey, I don't really want to run/use Chocolatey, but I couldn't figure out how.

  • @liquidpower
    @liquidpower 2 года назад +5

    loving this windows dev ops WLS2 windows Terminal stuff. as a network eng who likes to run windows and game, its really cool being able to have a good Terminal and having all the linux tools with a great GUI

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

    Woooww Broo!! AWESOMEEE I LOVE your customizations 💻✨

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

    Excellent Terminal Customs Idea’s
    Thanks

  • @iamsantanubanerjee
    @iamsantanubanerjee 2 года назад +26

    I always love your customizations!
    Edit: More than that, I love the starship prompt

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

    Great content! Thanks for the ideas to customize the shell prompt and keep up your good work! ;)

  • @t-roy1605
    @t-roy1605 6 месяцев назад

    Christian, you're an amazing dude. Thanks for your videos.

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

    this terminal looks awesome 🎉

  • @logixthedev
    @logixthedev 6 месяцев назад +5

    Thank you Christian, your customizations are VERY nice! What theme are you using in VSCode?

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

    Love it!

  • @dedpossum66
    @dedpossum66 2 года назад +19

    Thank you again for you videos Cristian! Your thoughts on oh-my-posh vs. starship? Personally I like oh-my-posh but it appears that starship-prompt offers more options.
    Some timestamps that were especially helpful ( I will use these later this week, I will have a new laptop to configure )
    - 15:05 character maps
    - 16:00 distro logos

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

      Thank you! Great feedback on the timestamps :)
      I haven't tried out oh-my-posh, but I wanted to until someone recommended me starship. And to me personally starship looks a bit better and was very straightforward.

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

      @@christianlempa Now having tried both, I think that the starship is just all around better. The problem with Posh is visual corruption in windows terminal, and that it can feel quite clunky and is generally less customizable.

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

    Thank you Christian :)

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

    Great channel!

  • @javierarzon4853
    @javierarzon4853 3 месяца назад

    Thats freaking Awesome 😁

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

    Thank you very much, greetings from Argentina 😊

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

    Wow!! Great video!!

  • @gregbek5955
    @gregbek5955 2 года назад +14

    timestamp 15:46 - colormap for bash, if you don't have/want zsh, the following bash shell function produces identical output.
    function colormap() {
    for c in {0..255}; do
    let "d=($c+3)%6"
    printf "\x1b[48;5;%dm \x1b[49m\x1b[38;5;%dm%03d \x1b[0;37;40m" $c $c $c
    if [ "$d" -eq "0" ]; then echo ""; fi
    done;
    echo
    }

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

      Oh nice, awesome man! I'll add it to my .bashrc file on github :D Thanks!

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

      This is exactly what I was stating to someone in the comments

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

    Superb content, Hi Christian how did you customize your Warp terminal with the same purple texts/fonts? if you have a video could you point me to it.

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

    Oh my this prompt customization is a rabbit hole... but thank you for introducing this

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

      You're welcome! Go down the rabbit hole :D

  • @microsoftsarker
    @microsoftsarker 5 месяцев назад

    Thank you so much

  • @davidneilson4622
    @davidneilson4622 8 месяцев назад +2

    great video, I've just trolled through the font sets but cannot find the curved corners you have used for the terminal prompts (in your starship.toml file, under the format section) could you advise the ascii code you used??

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

    Never thought I'd live to see ricing on windoze

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

    Nice! Welcome to the Starship prompt ;)

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

      Thank you! Just looked nice on your terminal :D

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

    Great ... thanks 🙂

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

    I knew it had to be starship prompt when you said I use it everywhere. 😁

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

    great content!

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

    Is this the one you download from the microsoft store? im trying to customize the one that comes with windows 11, but when i try to open the settings it opens a json file in vs code and doesnt show much about customizing the app.

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

    Awesome! Thanks! All working perfectly...
    P.S. But at beginning my icons was smaller then yours - I fixed it with the differen font type - JetBrainsMono Nerd Font.

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

      Glad it helped!

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

      @@christianlempa AWESOME!
      By the way. I add zsh-autosuggestions and it's working like a charming. But do not get history from console after relogin.

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

      I was struggling with the same thing using the Hack NF...thanks for calling this out; switching to the JetBrains font fixed this for me too. Thanks again!

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

    Very cool :)

  • @Silvermist78
    @Silvermist78 7 месяцев назад +1

    Thanks for making this how to video! How does one do "run as different user" with Win Term?

  • @D-Inked
    @D-Inked Год назад +1

    where did you get the background image? Looks really nice, would like to have this too please.

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

    Thank You

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

    First off, great video and love your setup. For PowerShell how are you setting the windows flag icon in the prompt? I see for the Linux distros you are using the script as you mentioned in the video. Are you setting the icon in the PS profile?

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

      Hey thanks! Yes I set it in the profile.

  • @slimey6470
    @slimey6470 5 месяцев назад

    love this!!!!!

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

    Awesome, although i have issues with your starship config you uploaded. All the icons are broken but im not sure if i miss them or if the upload is broken. Or if i have to do them all over ? Just wanted to use the same as you have.

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

      Try out a different nerd-font. Sometimes the Icons are "smaller" or "overlap". I'm currently testing "JetBrainsMonoMedium Nerd Font", which works well.

  • @jmaviles
    @jmaviles 6 месяцев назад

    Hi Christian, Does your Windows Dotfile has been change? I saw different json schemes color setting vs video, can you share the old one, thank you and great job !!👌

  • @mr.a.7372
    @mr.a.7372 Год назад

    It is in evaluation mode? Any logs from our computers that goes to programmers? How did you add the windows logo to the prompt? Thanks

  • @jehadmohammed6819
    @jehadmohammed6819 3 месяца назад

    I really enjoyed the vid! What VS code theme were you using?

    • @christianlempa
      @christianlempa  3 месяца назад

      I built my own :) it’s called „the digital life“

  • @YousefMohamed-jb8bq
    @YousefMohamed-jb8bq 2 года назад +1

    I always like all your customizations
    can we use zsh plugins with starship ?

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

      I guess that should work, if you're refering to zsh-autosuggestions, etc. that works on my side

  • @dragayt543
    @dragayt543 Год назад +2

    How do you use your script?
    RemoteSigned
    allrestrictive
    unrerective
    rectritive

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

    I now know a little bit more about what Windows Terminal can do. 😁😁😁

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

    Thank you

  • @Code-Quake
    @Code-Quake 2 года назад

    Great work. Can you tell me what VSCode theme you are using?

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

      Thanks! Sure I'm using my own one :D marketplace.visualstudio.com/items?itemName=xcad2k.vscode-thedigitallife

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

    It's fantastic

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

    Awesome and with the pane config, can we save it in case we restart the terminal?

    • @christianlempa
      @christianlempa  2 года назад +5

      Thanks mate! Yeah you can enable it in the settings under "When terminal starts"

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

    Hello and thank you for your awesome video. How to you share the config across all of your WSL distros? Once again thanks you for your time and help.

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

      I'm using yadm.io, it's based on git and uses the same syntax to create a repo for your homefolder. Pretty useful.

  • @user-mz3wt3qj9d
    @user-mz3wt3qj9d 5 месяцев назад

    amazing

  • @guepardroyal3122
    @guepardroyal3122 5 месяцев назад

    hi, thank you for the video ! But how do you use an Ubuntu shell ? Wsl ? But with a wsl you have to install starship a second time to the wsl right? Thank you for your help :)

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

    How awesome unfortunate though I really liked that purple and blue theme

  • @tomytoon123
    @tomytoon123 6 месяцев назад

    that is cool looking wallpaper.
    do you have link for that?

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

    Nice! One question tho, where did you find these nice icons that we can see on the windows terminal tabs?

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

      I'm not sure if I'm allowed to share them, but you could look at a website like icons8 f.e. ;)

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

      @@christianlempa Thanks! Yes I used icons8 but some icons appear pixelated in the tab. anyway! keep it up!

    • @YousefMohamed-jb8bq
      @YousefMohamed-jb8bq 2 года назад +1

      @@Alex1996984 I think he's using a paid version because I'm facing the same pixel problem

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

      @@Alex1996984 MS used to ship Windows Terminal with popular distro icons built-in. Although it is removed in later versions due to copyright issues.
      Edit: it should be trademark issues, not copyright.

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

      @@YousefMohamed-jb8bq you can change the icon for each terminal. Just find you suitable distro icon or even just any image you like.

  • @lpsoldier357
    @lpsoldier357 6 месяцев назад

    Whats your vscode theme in this video? awesome colors

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

    Great 💓

  • @salman.qureshi
    @salman.qureshi 2 года назад

    Man, love your content and your wallpaper. Where is it from? Could you maybe pass me a link to a full res version? :)

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

      Thank you so much :D I just downloaded it from google, when searching for Mr Robot wallpaper ;)

    • @salman.qureshi
      @salman.qureshi 2 года назад

      @@christianlempa Thanks. Will look it up!

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

    That is a wallpaper, where do you usually get them from?

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

    I would like to know how to install Arch with WSL. Could you share the guide to do that? Thanks

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

    Tnks....sobat
    itu betul banget.....

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

    I can't find the json file on your github @ 09:23 why did you remove the file? Anyway i like the themes tho.

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

      I changed the repo to dotfiles-win, you find it on my GitHub page :)

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

    I love this video tutorial, I have been been using chatgpt in the terminal and wondered if you found any way to have it auto read text. (the windows narrator is terrible and can't really read my terminal properly) Any suggestions on how to enable that in terminal?

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

    Can you please add a link to the JSON file that you have currently in the demo since they look really good and well setup.

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

      Added a link in the description to my dotfiles! Thanks ;)

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

    Your vs code's edges look like a round shape. how did you do it?

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

    Could you make a clear video tutorial to config this style of shells prompts ? Thanks in advance

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

      What exactly are you looking for?

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

      @@christianlempa I have a problem with the short name of Ubuntu on the Windows Terminal Tab, and other problem is when I run the Terminal Powershell in VS code, my current location and the word 'at' didn't have any spaces. Could you have any suggestions?

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

      @@TVDramaHome same here any fixes ??

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

    Do you know why some fonts are not being interpreted by my PC even though NerdFonts has been installed?

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

    hello, why does windows have two terminals cmd and powershell? what is the diference between them

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

    How do you make vscode show you the color square in the json?

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

    Yo, could you please make example for fish how to add the automatically distro select and where to set the env?

  • @bobby07241
    @bobby07241 9 месяцев назад

    Hello Chris can you help me to add status prompt to see if i have an python3 virtual env active ?

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

    Great video. I was originally using oh-my-zsh. Starship looks good. still working my way through getting the perfect prompt and colour config. 1 question though. I am still unable to get the icons/emojis to work on my mac. any assistance would be appreciated.

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

      Thank you mate :) On MacOS you just need to install the Font, and you need a terminal that supports changing the font. Check out my video about MacOS terminal: ruclips.net/video/NfggT5enF4o/видео.html

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

    hello, thanks a lot for the tutorial. i tried to use your configuration but the icons are not shown as yours and sorry to ask how did you add the configuration to your zshrc file?

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

      I'll update the repo with a readme soon

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

      Its on your home directory, copy the init script, then type vi ~/.zshrc to open the file in vim.

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

      @@akshitthakur5179 thanks, i already got it. thanks

  • @user-mf8oj1yf2m
    @user-mf8oj1yf2m 7 месяцев назад

    where can i download that desktop wallpaper, it's amazing!

    • @christianlempa
      @christianlempa  7 месяцев назад

      Just search for Mr Robot wallpaper :D

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

    How did you add the other stuff? Aside from Command Prompt, PowerShell and Cloud Shell I don`t have any other command line.

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

      I ask for Kali Linux, Ubuntu Linus and so.

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

      I'll probably make some videos in the future about terminal tools, that I'm using. I'm still waiting though for a great version of exa on Windows. Then there will be a video coming about it :)

  • @kittenpixl
    @kittenpixl 6 месяцев назад

    Ubuntu and Powershell is missing from the cmd thing and it gives this error: Could not find your default profile in your list of profiles - using the first profile. Check to make sure the "defaultProfile" matches the GUID of one of your profiles.

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

    What was the music?

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

    thanks tokyo night is awesome :)

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

    How can i get your json file now?

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

    I copied your starship file and everythign went fine! Except for one thing: the icon for the file types. Any idea what could be going wrong? I am using powershell and using the "ls" command to list them.
    But it also did't worked on my ubuntu wsl2

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

      The icons in the ls command don't come from starship, it's a separate application called "exa"

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

    How do I use your hackthebox custom theme for my zsh on Pop OS?

  • @mayura3050
    @mayura3050 6 месяцев назад

    Could you tell me how to customize the file icons also

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

    Nice Guide!
    Just one question: Do you have to transfer and install your starship config files onto every single server you want to ssh into?

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

    Awesome video again Christian, but can you tell me the name of the intro song?

  • @HyRax_Aus
    @HyRax_Aus Год назад +61

    Windows is slowly becoming Linux every single day.

    • @uselesschannel51
      @uselesschannel51 Год назад +4

      yes lol

    • @maxstr
      @maxstr Год назад +9

      More like Windows is absorbing Linux.... WSL basically runs a full version of Linux

    • @HyRax_Aus
      @HyRax_Aus Год назад +8

      @@maxstr Absorbing? Lol - Windows will eventually just be Linux with its own DE.

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

      @@HyRax_Aus lmfao 🤣 😂 💀 😆

    • @flipinfin
      @flipinfin Год назад +3

      @@HyRax_Aus can you build your own kernel for windows?

  • @techtechuw597
    @techtechuw597 6 месяцев назад

    I'm sorry, I don't exactly understand does the same Starship install and conf work on poweshell and on ubuntu subsystem terminal or I'd have to install and conf it separately for each subsystem?

    • @christianlempa
      @christianlempa  6 месяцев назад

      You'll need to install it once per OS, but invoke it on each shell, so powershell needs a different init script than bash or zsh

  • @alifhossainbits
    @alifhossainbits 8 месяцев назад

    which vs code theme are you using?

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

    You have some nice icons on tabs on Windows Terminal, can you share please?

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

      I don't think I'm allowed to share them, take a look at something like icons8 ;)

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

    I'm not sure if they've changed something, but after I installed it, I wanted to use it for SSH'ing to a Linux box.
    Nope.
    The option for Debian - Ctrl + Shift + 3 errors with a: [process exited with code 1 (0x00000001)]
    This was when I was selecting the Terminal for Debian. From there, you actually need to install the WSL subsystem (Linux on top of Windows).
    Installing this requires the Windows Virtual Machine Platform, which will prevent VirtualBox VMs from starting up.
    Waste of time.

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

    Where are the icons from %userprofile%\WindowsTerminalIcons,

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

    I want your wallpaper, it's awesome

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

    Do you know how to make the up key (to repeat a command) to filter based on suffix like on oh-my-zsh, if you type something like `git pu` and press up it only show commands that start with `git pu` is that possible with the starship? Thanks

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

      I think it should be independet from the prompt, because it sounds like a function of zsh, which is of course fully supported in starship.

  • @jannikattentater3838
    @jannikattentater3838 7 месяцев назад

    How does he have those graphs in the Terminal? Are those Linux exclusive?

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

    What's the song in the beginning?

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

    Great video i'm confused zshrc file , i didn't found it my windows...

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

    How to add the files-theme-xcad.xaml file to have as a theme choice option? How to change each system logo to black and white, the same as yours?

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

    any alternatives of fish shell in windows?

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

    How to display character map like yours? My Character Map started from "charmap" command seems to be very dumb.

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

      It’s a command in my dotfiles you can find on GitHub :)

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

    Where did you get that white PowerShell Icon I can't find it

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

    Hi cool!!! i can't find home and lock symbol? can you help me? many thanks

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

    Could you please tell me your vscode theme ?

  • @X-MSK
    @X-MSK 6 месяцев назад

    I can’t find confing for setting!

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

    I using ubuntu WSL its says staship command not found after installing it to the /.local and setting /.local to PATH & Adding the bashrc command

  • @darkstarXSI
    @darkstarXSI 4 месяца назад

    The only customization I have in my terminal is the Terminus font, otherwise I have made functions that are loaded when opening PowerShell that shows some unicode icons, I need to give Terminal a try, I only use PS7