Make Windows Terminal Amazing
Christian Santos
Posted on May 27, 2020
Hi Guys, in my first post i want to share with you how to make your Windows Terminal and powerShell look incredible like in MacOS, hope you enjoy!
STEP 1 - Download Windows Terminal
You can download from Microsoft Store - Recommended
Or using Chocolatey:
choco install microsoft-windows-terminal
STEP 2 - Install Git for Windows ( if you already have you can skip this step)
Just download and install Git For windows
Step 3 - Download and install FiraCode (an awesome font for developers)
Go config of Windows terminal (ctrl + ,) and add this line in "defaults:"
"fontFace": "Fira Code",
STEP 4 - Setup Powerline in Windows Terminal
- Using PowerShell, install Posh-Git and Oh-My-Posh:
Install-Module posh-git -Scope CurrentUser
Install-Module oh-my-posh -Scope CurrentUser
Posh-Git adds Git status information to your prompt as well as tab-completion for Git commands, parameters, remotes, and branch names. Oh-My-Posh provides theme capabilities for your PowerShell prompt.
- If you are using PowerShell default, install PSReadline withou the tag
-AllowPrerelease
:
Install-Module -Name PSReadLine -Scope CurrentUser -Force -SkipPublisherCheck
- If you are using PowerShell Core/6 and above, install PSReadline:
Install-Module -Name PSReadLine -AllowPrerelease -Scope CurrentUser -Force -SkipPublisherCheck
- Customize your PowerShell prompt
Open your PowerShell profile with
notepad $PROFILE
or the text editor of your choice. This is not your Windows Terminal profile. Your PowerShell profile is a script that runs every time PowerShell starts.
In your PowerShell profile, add the following to the end of the file:
Import-Module posh-git
Import-Module oh-my-posh
STEP 5 - Customize your Windows Terminal Theme
And go to
C:\Users\Usuário\Documents\PowerShell\Modules\oh-my-posh\2.0.412\Themes
and paste the GrisDracula.ps1 you downloaded inside
Open your PowerShell profile with
notepad $PROFILE
, add the following to the end of the file like that:
Import-Module posh-git
Import-Module oh-my-posh
Set-Theme Spaceship
Now open settings of Windows Terminal again and add a custom color scheme like that:
"schemes": [
{
"name": "Dracula",
"background": "#282A36",
"black": "#21222C",
"blue": "#BD93F9",
"brightBlack": "#6272A4",
"brightBlue": "#D6ACFF",
"brightCyan": "#A4FFFF",
"brightGreen": "#69FF94",
"brightPurple": "#FF92DF",
"brightRed": "#FF6E6E",
"brightWhite": "#FFFFFF",
"brightYellow": "#FFFFA5",
"cyan": "#8BE9FD",
"foreground": "#F8F8F2",
"green": "#50FA7B",
"purple": "#FF79C6",
"red": "#FF5555",
"white": "#F8F8F2",
"yellow": "#F1FA8C"
}
],
In "defaults" add this line:
"colorScheme": "Dracula",
And now you have an Amazing Windows Terminal in your workspace! :D
Extra- My Windows terminal Config
This is my first post i hope you liked, be free to give your feedback <3\
My gitHub
FONTS:
Dracula Theme,
oh-my-posh,
Tutorial: Set up Powerline in Windows Terminal.
Posted on May 27, 2020
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.