How to Customize Windows Terminal Like a Pro

ads

I never liked liked the features and the look of Windows Terminal. Let’s see how to customize Windows Terminal and pimp to the next level. For anyone who uses Windows Terminal to interact with the shell specially for developers, is important to have some information directly from the terminal window and enhance the visual aids when you’re navigating and working with command lines like Git.

Setup your terminal

We need to install PowerShell. There are multiple ways to install PowerShell in Windows. Each install method is designed to support different scenarios and workflows. Choose the method that best suits your needs.

Get it from Windows Store or download MSI setup.

Install fonts for the glyphs

It’s recommended to use NerdFonts.

Download: https://www.nerdfonts.com/

Get your favorite font and copy to Windows Fonts folder.

Install oh-my-posh

Oh my Posh is a custom prompt engine for any shell that has the ability to adjust the prompt string with a function or variable.

Following the instructions, first install the oh-my-posh module.

Install-Module oh-my-posh -Scope CurrentUser -AllowPrerelease

If you have chocolatey package is managed just type:

choco install oh-my-posh

Now you need to first import Oh My Posh in your $PROFILE before adding the line below:
type: note $profile

and add:

Import-Module oh-my-posh

the next line choose a favorite theme:

Set-PoshPrompt -Theme markbull

Download all the existing themes to your machine.

Get-PoshThemes

Find the full list of themes with:

Get-PoshThemes -List

Check the full documentation from the official website

I’m happy with the configuration and overall look. Feel free to comment any suggestion below and share your terminal customization.

ads
Get our hottest stories to your inbox.
Check your inbox for a confirmation email.

Have something to add to this story? Share it in the comments.

Have something to add to this story? Share it in the comments.

Leave a Reply

Your email address will not be published.