Make Windows Terminal look amazing!

Поділитися
Вставка
  • Опубліковано 27 лип 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.

КОМЕНТАРІ • 390

  • @simonbrown3540
    @simonbrown3540 2 роки тому +31

    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.

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

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

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

    Woooww Broo!! AWESOMEEE I LOVE your customizations 💻✨

  • @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

  • @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

  • @t-roy1605
    @t-roy1605 8 місяців тому

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

  • @logixthedev
    @logixthedev 8 місяців тому +5

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

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

    this terminal looks awesome 🎉

  • @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.

  • @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

  • @javierarzon4853
    @javierarzon4853 4 місяці тому

    Thats freaking Awesome 😁

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

    Great channel!

  • @davidneilson4622
    @davidneilson4622 9 місяців тому +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??

  • @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.

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

    Love it!

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

    Wow!! Great video!!

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

    Thank you Christian :)

  • @Silvermist78
    @Silvermist78 8 місяців тому +1

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

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

    Thank you very much, greetings from Argentina 😊

  • @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

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

    Never thought I'd live to see ricing on windoze

  • @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!

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

    Thank you so much

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

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

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

    Nice! Welcome to the Starship prompt ;)

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

      Thank you! Just looked nice on your terminal :D

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

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

  • @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?

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

    Where are the icons from %userprofile%\WindowsTerminalIcons,

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

    How do you use your script?
    RemoteSigned
    allrestrictive
    unrerective
    rectritive

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

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

  • @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.

  • @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

  • @FileUnlocked19
    @FileUnlocked19 9 місяців тому

    I partially succeeded. But the problem I am facing is with ubuntu. I made my ubuntu look like how when you paste the code line needed in bashrc file. But I can't make it anything like how it is shown in this video. Like where should the location of zshrc file be in my windows pc? And also the .config file and starship.toml. By the way , I successfully decorated cmd and powershell as same as in the video.
    Please help me out.

  • @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.

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

    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.

  • @guepardroyal3122
    @guepardroyal3122 6 місяців тому

    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 :)

  • @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.

  • @D-Inked
    @D-Inked Рік тому +1

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

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

    How to open windows terminal in drop down style with tabs?

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

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

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

    great content!

  • @davidzuccarini8376
    @davidzuccarini8376 17 днів тому

    thanks for Teleport. amazing, and nice video thanks for sharing

  • @bobby07241
    @bobby07241 10 місяців тому

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

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

    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 !!👌

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

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

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

    Great ... thanks 🙂

  • @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?

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

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

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

    Could you tell me how to customize the file icons also

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

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

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

    its showing (starship::config): Unable to read config file content: stream did not contain valid UTF-8. please help

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

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

  • @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"

  • @DJone4one
    @DJone4one Рік тому +1

    Too bad, starship doesn't seem to install for me. At least my shell does not recognise any of the commands.

  • @walkaisa9933
    @walkaisa9933 Рік тому +1

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

  • @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

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

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

  • @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.

  • @undefinedcode0
    @undefinedcode0 Місяць тому

    How can I obtain the "WindowsTerminalIcons" folder that you use?

  • @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

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

    Very cool :)

  • @jehadmohammed6819
    @jehadmohammed6819 5 місяців тому

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

    • @christianlempa
      @christianlempa  5 місяців тому

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

  • @X-MSK
    @X-MSK 7 місяців тому

    I can’t find confing for setting!

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

    What was the music?

  • @deathkami5876
    @deathkami5876 Рік тому +1

    How can i get your json file now?

  • @slimey6470
    @slimey6470 6 місяців тому

    love this!!!!!

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

    Whats your vscode theme in this video? awesome colors

  • @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: ua-cam.com/video/NfggT5enF4o/v-deo.html

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

    Thank You

  • @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 ;)

  • @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"

  • @darkstarXSI
    @darkstarXSI 5 місяців тому

    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

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

    is there a way to make ubuntu terminal look like this?

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

    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  7 місяців тому

      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

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

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

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

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

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

    any alternatives of fish shell in windows?

  • @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 ??

  • @alifhossainbits
    @alifhossainbits 9 місяців тому

    which vs code theme are you using?

  • @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 :)

  • @PraveenKumar-bn6kf
    @PraveenKumar-bn6kf 10 місяців тому

    How to get my conda env to show up in this?

  • @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.

  • @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?

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

    i couldnt find the json settings i am really sad for that but i really want it can anyone help me

  • @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 :)

  • @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!

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

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

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

    How do I find that wallpaper

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

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

  • @user-mf8oj1yf2m
    @user-mf8oj1yf2m 9 місяців тому

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

    • @christianlempa
      @christianlempa  9 місяців тому

      Just search for Mr Robot wallpaper :D

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

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

  • @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 :)

  • @mf8f
    @mf8f 8 місяців тому

    how do i make the 'starship.toml' file?

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

    Could you please tell me your vscode theme ?

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

    Thank you

  • @jannikattentater3838
    @jannikattentater3838 8 місяців тому

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