How to Customize Windows Terminal Like a Pro 2022 Tip


This tutorial is about customizing the Windows Terminal like a pro. We will do our best for you to understand this guide. I hope you will like this blog How to Customize Windows Terminal Like a Pro. If your answer is yes, please share after reading this.

Check How to Customize Windows Terminal Like a Pro

Terminals are always there for the important stuff. Almost every developer or programmer uses it daily to perform some task. There are many developer options like GNOME, Hyper, etc., and Windows Terminal is one of them. The new Windows Terminal is a modern, powerful, fast and efficient terminal for users of shell and command-based tools such as WSL, Cmd and PowerShell.

Windows Terminal has extensive features that make it stand out, such as multiple tabs, UTF-8 character support, GPU-accelerated word processing engine, customization, and configuration. Apart from that, it is open source which makes it really interesting. Each developer must modify the tools to get the most out of them at a given level. Customization and configuration come. Today we are going to learn how to customize your terminal to look better and work efficiently by adding shortcut keys.

Customize Windows Terminal Like a Pro (2022)

We have step-by-step instructions for customizing Windows Terminal, from adding the acrylic effect to applying the Caskaydia font to your command-line experience. We added steps for PowerShell and Ubuntu (WSL). You can expand the table below and jump to the section of your choice.

Apply Acrylic Effect to Windows Terminal in Windows 10/11

  • First, open Microsoft Store and update Windows Terminal to the latest version.
  • Next, open Windows Terminal and go to Settings.
  • Here, go to “Windows PowerShell” under “Profiles” in the left sidebar and switch to the “Appearance” tab.
  • Scroll down and enable the “Acrylic” option. Just below you can also adjust the opacity of the Acrylic. I kept it at 70%, but you can adjust the value to your liking. Finally, click “Save” to confirm the changes. You have successfully taken your first step in customizing the Windows terminal.
  • Repeat the process for CMD, WSL, and other shells you use on your Windows computer. You are going to add an acrylic effect to the windows terminal.

Add Caskaydia Cove Font to Windows Terminal

  • After adding the acrylic effect, you need to install Oh My Posh compatible fonts. I installed Caskaydia Cove Nerd Font which works well with this third party customization tool. You can click here to download the font.
  • After downloading the font, unzip it with apps like 7Zip or WinZip and install all fonts. You can select all fonts -> right click on them -> Show more options -> Install for all users.
  • Now open windows terminal and go to settings. Here, switch to the “Windows PowerShell” section in the left panel and switch to the “Appearance” tab as we did before.
  • Here choose the newly downloaded font you want to use with the Oh My Posh prompt. I selected “Caskaydia Cove Nerd Font”. Now click on “Save”.
  • Repeat this process for all shells you use on Windows 10/11, including WSL/Ubuntu.

Customize PowerShell in Windows Terminal with Oh My Posh

  • Now that you’ve added the Acrylic effect and applied a compatible font, it’s time to install the Oh My Posh indicator. To do this, open Windows Terminal with administrator privileges. To do this, find Terminal after pressing the Windows key and click on the “Open as administrator” option in the right pane.
  • Access the PowerShell window and run the following command to install the Oh My Posh prompt. After that, press “A” and press Enter to allow the installation.

Install-Module oh-my-posh -Scope CurrentUser

  • Then run the following command to import the Oh My Posh profile. If you get prompts, press “A” followed by “Enter” to continue the installation.

oh-my-posh import module

  • After that, you need to install terminal icons. Kudos to Brandon Olin, who developed terminal icons for PowerShell. Just run the following command and let the installation complete. Make sure you are running Windows Terminal with administrator privileges before running this command.

Install-Module -Name Terminal-Icons -Repository PSGallery

  • Now to check if everything is working fine, run the following command. This will open the new notification.

oh-my-posh –init –shell pwsh –config ~/jandedobbeleer.omp.json | invocation expression

  • So far everything is working fine, but you need to make Oh My Posh your default custom message. To do this, run the following command. It will give you a path, which you should write down or copy and paste into Notepad.
  • Then navigate to this path and you will find a “Microsoft.PowerShell_profile.ps1” file. Open it with Notepad, add the following lines and save the file. You can now close the Notepad file.

Set-PoshPrompt -Theme jandedobbeleerImport-Module -Terminal name-Icons

  • If the ps1 file is not there, you can easily create one. Right-click on the “WindowsPowerShell” folder and choose New -> Text Document.
  • Rename it to Microsoft.PowerShell_profile.ps1. Make sure there is no .txt extension at the end. The file name must end with .ps1.
  • Now open the file with Notepad and add the two lines below and save it. You can close Notepad now.

Set-PoshPrompt -Theme jandedobbeleerImport-Module -Terminal name-Icons

  • Return to the PowerShell window and run the following command to reload the profile.


  • Finally, close the Windows Terminal and reopen it. You will now find that Oh My Posh is set as the default prompt in PowerShell. With the Acrylic effect, new fonts, icons, glyphs, and the Oh My Posh prompt, PowerShell in Windows Terminal looks beautiful.

Customize WSL/Ubuntu in Windows Terminal with Oh My Posh

Once you’ve added the acrylic effect and installed the fonts, it’s time to customize WSL with Oh My Posh. Here’s how.

  • Open Windows Terminal with administrator privileges.
  • Then navigate to WSL (Ubuntu or any other distro you have installed).
  • Now, before installing Oh My Posh, we recommend updating WSL with the latest packages and dependencies. You may need to enter the WSL password to confirm the installation.

sudo apt update && sudo apt update -y

  • After that, run the following commands one by one to install Oh My Posh on WSL so that you can customize Windows Terminal. You will need to press “y” to allow the installation.

sudo wget -O /usr/local/bin/oh-my-posh sudo chmod +x /usr/local /bin/oh-my-elegant

  • Then run the following commands one by one to download the themes.

mkdir ~/.poshthemeswget -O ~/.poshthemes/themes.zipunzip ~/.poshthemes/ -d ~/.poshthemeschmod u+rw ~/.poshthemes/*.jsonrm ~/.poshthemes/

  • Once done, run the following command to check if the custom indicator is installed correctly. This should bring up the new Oh My Posh prompt.

eval “$(oh-my-posh –init –shell bash –config ~/.poshthemes/jandedobbeleer.omp.json)”

  • Now to set Oh My Posh as the default message in WSL, run the following command. This will allow you to edit Bash’s configuration file in the Nano editor.

nano ~/.bashrc

  • In the Nano editor, scroll down using the arrow keys on your keyboard and find this line “make less friendly for non-text input files, see lesspipe(1)”. Just below, you need to replace the command that starts with “eval…”.
  • Now you need to type the following command in the Nano editor as it does not support copy-paste. It will look like this:

eval “$(oh-my-posh –init –shell bash –config ~/.poshthemes/jandedobbeleer.omp.json)”

  • After that, press “Ctrl + O” and press Enter to save the changes. Then press “Ctrl + X” to exit the Nano editor.
  • Finally, run the following command to reload the Bash profile. From now on, WSL will load at the Oh My Posh prompt. Enjoy!

. ~/.bashrc

  • In case of problems in rendering glyphs and text, make sure you have set the correct Caskaydia Cove Nerd font for Ubuntu/other distributions in the Windows Terminal Settings page. This is one of the first things you need to customize in Windows Terminal.
  • If you’re still having the problem, you need to reload the Bash profile every time you enter the WSL shell. Run the following command and everything will be fixed. You can also restart your PC to check if the issue is resolved.

. ~/.bashrc

Final Words: How to Customize Windows Terminal Like a Pro

Hope you understand this article How to Customize Windows Terminal Like a Pro, if your answer is no, you can ask anything via the contact forum section linked to this article. And if your answer is yes, share this article with your family and friends.


About Author

Comments are closed.