Scott Hanselman

Take your Windows Terminal and PowerShell to the next level with Terminal Icons

April 06, 2021 Comment on this post [32] Posted in Win10
Sponsored By

I'm having a blast customizing my terminal and making my prompt awesome.

I thought it was lovely when I added Oh my Posh 3. But now that I've seen Kayla Cinnamon's terminal MINE IS HIDEOUS!

Windows Terminal Pretty Prompt

Ok, what can we add? MOAR ICONS.

Turns out that Brandon Olin from StackOverflow has created a Terminals Icons package that is *chefs kiss*. Go give this man 1000 stars, please.

Given I'm using the completely overpowered "caskaydiacove nf" Nerd Font Variant of the lovely Cascadia Code font, I've got all the icons I need ready to go!

I just install. (I'm using PowerShell 7 from the Windows Store, but remember PowerShell is cross platform):

PS> Install-Module -Name Terminal-Icons -Repository PSGallery

And then add one line to my $profile (edit with "code $profile"):

Import-Module -Name Terminal-Icons

Now look at a directory, use dir, ls, or get-childitem, it doesn't matter...AND BEHOLD:

Lovely PowerShell with Directory Icons

Thanks Brandon and Kayla! Great stuff! What customizations have YOU made?


Sponsor: Extend your runway and expand your reach. Oracle for Startups delivers enterprise cloud at a startup price tag with free cloud credits to help you reel in the big fish—confidently. Learn more!

About Scott

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

facebook twitter subscribe
About   Newsletter
Hosting By
Hosted in an Azure App Service
April 09, 2021 11:42
Be careful with the CaskaydiaCove NF font. I didn't find its original source and license, but according to https://en.m.fontke.com/font/64992431/licence/ it is prohibited to use commercially. Unfortunately nerdfonts.com also doesn't mention the license of the fonts anywhere.
April 09, 2021 12:25
Hey Scott,

Thanks for sharing! I've been using Oh-my-posh for some time, and really enjoy the additional visual aid it gives me, specifically when I'm navigating my local git repos.

With the addition of more icons like these, I can already see the improved readability when jumping between terminal tabs and folders. 🚀💻

I've shared your post with some friends who I know will appreciate it!

All the best,
Tobias.
April 09, 2021 19:41
Thanks for this post Scott.
My terminal was overdue for a complete overhaul
Now it looks more useful and easy on my eyes.
April 09, 2021 19:43
Seems to slow down dir on my PC, but it does look neater.

For people with draconian policies on their work PCs that restrict running as admin you can install with CurrentUser scope:

PS> Install-Module -Name Terminal-Icons -Repository PSGallery -Scope CurrentUser
April 09, 2021 20:42
I wish Windows Terminal would become cross platform :-(
I realize there are dependencies like C++/WinRT, XAML Islands (UWP XAML) for our UI. and using DX/DWrite for the text renderer. Hope Kayla/Windows Terminal team would take a serious look at it.
April 10, 2021 10:24
Hi Scott,
thanks for sharing!

Do you have an alternative Font (cascadia code style) without ligatures, just PL?

thanks
April 10, 2021 12:05
Hi Scott,

I got Cascadia Code PL (2102.25) installed and also the Terminal-Icons module. However the powerline glyphs are rendered as squares on my terminal. What could be missing?

Love your love towards the terminal.

Uchitha.
April 10, 2021 19:08
El usuario debe introducir la tarjeta ing llegar o terminar su jornada y la máquina imprime la hora y fecha.
April 10, 2021 19:08
El usuario debe introducir la tarjeta ing llegar o terminar su jornada y la máquina imprime la hora y fecha.
April 11, 2021 2:58
Well written & done.
I started writing myself just recently and realised that many blogs merely rehash old ideas but add very little of value. It's terrific to read a helpful article of some genuine value to me.
It's going on the list of factors I need to replicate as a new blogger. Reader engagement and material value are king.
Many good suggestions; you've certainly made it on my list of blogs to follow!

Continue the fantastic work!
Cheers,
Estele
Mei
April 11, 2021 15:31
I just could not leave your website before suggesting that I actually enjoyed the standard info a person supply for your guests? Is going to be again continuously in order to check out new posts
April 11, 2021 15:31
I just could not leave your website before suggesting that I actually enjoyed the standard info a person supply for your guests? Is going to be again continuously in order to check out new posts
April 11, 2021 18:19
A fascinating discussion is definitely worth comment. I believe that you need to publish more on this subject matter, it may not be a taboo matter but generally people do not discuss these issues. To the next! Kind regards!!
April 11, 2021 19:34
I am truly grateful to the owner of this web site who has shared this wonderful piece of writing at at this time.
April 11, 2021 19:34
I am truly grateful to the owner of this web site who has shared this wonderful piece of writing at at this time.
April 12, 2021 9:14
Reloj digital con despertador, temperatura y fecha.
April 12, 2021 13:55

کنیز نمی توانم با این مقاله لگن خواه موافقت کنم چون معرفت کافی در زمینه این مقاله و بلاگ ندارم
April 12, 2021 13:55

کنیز نمی توانم با این مقاله لگن خواه موافقت کنم چون معرفت کافی در زمینه این مقاله و بلاگ ندارم
April 13, 2021 9:54
Good information. Lucky me I came across your website by accident (stumbleupon). I have bookmarked it for later!
April 13, 2021 9:54
Good information. Lucky me I came across your website by accident (stumbleupon). I have bookmarked it for later!
April 13, 2021 19:20
Well done and written.
I've just started blogging very recently and observed that lot of articles simply rework old content but add very little of worth. It's good to read an informative write-up of some actual value to myself and your other followers.
It's going on the list of things I need to emulate as a new blogger. Visitor engagement and material value are king.
Some fantastic thoughts; you've absolutely made it on my list of sites to follow!

Carry on the excellent work!
All the best,
Jamil
April 13, 2021 20:17

سلام . کهتر قسم می خورم که این مطلب
فصیح است و شاید هیچ کس نتواند پیغام مشابه بوسیله این
مطلب را در وبلاگ ذایع کند چون بی
حد کامل است
April 14, 2021 0:39
I got Cascadia Code PL (2102.25) installed and also the Terminal-Icons module. However the powerline glyphs are rendered as squares on my terminal. What could be missing?


@Uchitha Ranasinghe, please get and install Nerd Fonts from https://www.nerdfonts.com/. The equivalent for Cascadia Code should be Caskaydia Cove.
April 14, 2021 1:18
Hi! I'm at work browsing your blog from my new iphone 4!
Just wanted to say I love reading through your blog and look
forward to all your posts! Keep up the fantastic work!
April 14, 2021 2:55
Working on 5 different physical and virtual machines daily, VI wins and I do not worry about customizing my workspace.

A simple C:\mytools directory copy lands all my no-install needed tools and the rest is plain Windows.

Ian
April 14, 2021 12:13

@Uchitha Ranasinghe, please get and install Nerd Fonts from https://www.nerdfonts.com/. The equivalent for Cascadia Code should be Caskaydia Cove.


Let me just add that the "magic string" that you need to set the terminal fontFace property to is "CaskaydiaCove NF", case sensitive.

@Scott Thanks for making me like my terminal ;-)
PS
April 15, 2021 4:14
Os registradores eletrônicos de ponto também estão sendo certificados no INMETRO electronic devem atender as portarias 480/11 e 513/13 – INMETRO.
April 15, 2021 4:14
Os registradores eletrônicos de ponto também estão sendo certificados no INMETRO electronic devem atender as portarias 480/11 e 513/13 – INMETRO.
April 15, 2021 4:58
En nuestro catálogo ofrecemosterminales biométricos de huella dactilar, reconocimiento cosmetic o la combinación entre ambos.
April 15, 2021 4:58
En nuestro catálogo ofrecemosterminales biométricos de huella dactilar, reconocimiento cosmetic o la combinación entre ambos.
April 15, 2021 8:53
Very well done & written!
I started writing a blog recently and noticed that lot of articles simply rework old content but add very little of value. It's good to read a beneficial write-up of some real value to myself and your other followers.
It's on the list of factors I need to replicate as a new blogger. Reader engagement and content quality are king.
Many fantastic thoughts; you've certainly managed to get on my list of people to watch!

Continue the terrific work!
Congratulations,
Karlen
April 15, 2021 8:53
Very well done & written!
I started writing a blog recently and noticed that lot of articles simply rework old content but add very little of value. It's good to read a beneficial write-up of some real value to myself and your other followers.
It's on the list of factors I need to replicate as a new blogger. Reader engagement and content quality are king.
Many fantastic thoughts; you've certainly managed to get on my list of people to watch!

Continue the terrific work!
Congratulations,
Karlen

Comments are closed.

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