How to Customize Windows Terminal Like a Pro – Guide

The new Windows Terminal is a powerful, fast and efficient terminal for users of command-based tools and shells. It has many options for developers like GNOME, Hyper, etc., and is perfect for performing tasks such as creating files, editing files, and managing systems.

The Windows Terminal has some features that make it stand out such as it has multiple tabs, UTF-8 character support, GPU-accelerated text rendering engine, customization and configuration. Also, it’s open source, which makes it really interesting. Every developer needs to modify the tools to get the most out of them at one level. Customization and configuration come. Today we are going to learn how to customize your terminal to make it better and run efficiently by adding some hotkeys.

Customize Windows Terminal Like a Pro (2022)

How to Customize Windows Terminal We have detailed instructions for customizing Windows Terminal, from how to add acrylic effect to apply Cascaydia font to your command line experience. We added steps for PowerShell and Ubuntu (WSL). You can expand the table below and go to any section you like.

Apply Acrylic Effect to Windows Terminal in Windows 10/11

Second, open a command prompt and type “netstat -an” to see if any ports are open on your computer that shouldn’t be. Third, close any ports that you find that shouldn’t be open and then restart your computer. ..

In the Settings window, click on the “Apps and features” link. On the Apps and features page, under “Windows Store,” click on the “Remove or disable a app” link. In the Remove or disable a app window, under “Microsoft Office 2013,” click on the “Disable” button. ..

In the “Appearance” tab, under “Window Title”, change the text to “Taskbar and Start Menu.”

Windows Terminal is a powerful tool that can be used to change many settings on your computer. By using the “Acrylic” option, you can make it more user-friendly and customize it to your liking. Finally, click “Save” to confirm the changes.

To add an acrylic effect to the Windows Terminal, repeat the process for CMD, WSL and other shells you use on your Windows computer. ..

Add Cascaydia Cove font to Windows terminal

After adding the Acrylic effect, you need to install Oh My Posh compatible fonts. I installed Cascaydia Cove Nerd Font, which works fine with this third-party customization tool. You can click here to download the font. ..

After downloading the font, unzip it and install all the fonts. You can select all fonts -> right click on them -> Show more options -> Install for all users.

In the “Appearance” tab, change the color of the taskbar to a light blue.

To use a newly downloaded font with the Oh My Posh prompt, select it from the list and click “Save.” ..

  1. Open the Start menu and type “cmd”
  2. Type “shell” and hit enter
  3. Type “cmd” again and hit enter again to open a command prompt window.
  4. Type “netstat -an” to see the network status of your computer. If you see any errors, please try again later when you have more time.

Customize PowerShell in Windows Terminal with Oh My Posh

To install the Oh My Posh prompt, open Windows Terminal with administrator privileges and type the following: Windows Terminal

Install-Module Oh My Posh

To import Oh My Posh’s profile, run the following command: import ohmyposh If you get any prompts, press “A”, followed by “Enter” to proceed with the installation. ..

Install Terminal Icons:

  1. Open a new window and type “msftp” into the text box.
  2. In the resulting window, enter your Microsoft account password and click on the “Enter” button.
  3. Type “c:\windows\system32\terminal” into the text box and click on the “Enter” button.
  4. The Terminal window will open and you will be able to type in your command to install Terminal Icons. Type “sudo add-item terminal -type Icon” into the text box and click on the “Enter” button. The Terminal icon will change to a green arrow and you will be able to run your command.

To check if everything is working fine, run the command below. ..

To make Oh My Posh your default custom prompt, run the following command: “C:\Program Files (x86)\Notepad++\share\config\custom.cpp” Copy and paste the path into Notepad to create a new custom prompt. ..

Open the Microsoft.PowerShell_profile.ps1 file with Notepad and add the following lines: $profilePath = “C:\Users\username\AppData\Roaming\Microsoft\PowerShell” $powershell = New-Object System.IO.FileStream( $profilePath ) $powershell .Open()

To create a ps1 file, right-click the “WindowsPowerShell” folder and choose New -> Text Document. ..

Microsoft.PowerShell_profile.ps1

Notepad: Open the file with Notepad and add the two lines below. Save it.

profile reload

Windows Terminal is now 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

After adding the Acrylic effect and installing the fonts, it’s time to customize the WSL with Oh My Posh. Here it is how to go about it.

Open the Terminal window by pressing Alt+T on your keyboard. Type the following command and press Enter: netstat -an | grep tcp

Next, go to your operating system’s software repository (Ubuntu or whatever distro you have installed) and install the WSL software. ..

We recommend updating WSL to the latest packages and dependencies before installing Oh My Posh. You may have to enter the WSL password to confirm the installation.

  1. Install Oh My Posh

  2. Press “y” to allow the installation

  3. Type “ohmyposh.exe” into the Windows Terminal and press “enter”

  4. The installation will start and you will see a message asking for your administrator password

  5. Type the password and press “enter”

  6. The installation will finish and you will see a message saying that Oh My Posh is installed

  7. Type “exit” to exit the Windows Terminal

  8. You can now customize your Windows Terminal by using Oh My Posh

  9. To download the themes, run the following commands one by one: sudo apt-get update sudo apt-get install -y w3m sudo apt-get install -y php5 php5-gd

  10. To use the themes, you will need to create a file called “config.php” in your web root and add the following lines: define(‘W3M_USE_THEMES’, true); define(‘PHP_USE_THEMES’, true); ..

To verify that the custom prompt is installed correctly, run the command below. ..

To set Oh My Posh as your default prompt in WSL, run the following command. ..

In the Nano editor, scroll down and look for this line: “make less more friendly to non-text input files, see lesspipe(1)”. Just below it, you need to replace the command that starts with “eval…” ..

nano -w “cmd” This will create a new file called “cmd.txt” in your current working directory. In this file, you will need to type the following command to start a command prompt: start cmd

After you make your changes, press “Ctrl+O” to save the changes. Then press “Ctrl+X” to exit the editor. ..

To reload the Bash profile, run the following command: ..

If you have some problems with the glyphs and text rendering on Ubuntu/other distributions, please make sure you have set the correct Caskaydia Cove Nerd font for Ubuntu/other distributions in the Settings page of the Windows Terminal. This is one of the first things you need to customize in Windows Terminal.

If you are still experiencing the issue, you will need to reload the Bash profile every time you enter the WSL shell. To reload your Bash profile, run the command below and everything will be fixed. You can also restart your PC to see if the problem is fixed. ..

Final note

This guide will show you how to customize Windows Terminal like a pro. If you have any question about this article, please ask us. Also, please share your love by sharing this article with your friends.