Make Windows Terminal Amazing
Tags: windows, terminal, javascript, powershell
Published: 2020-05-27 23:34:25

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](https://aka.ms/terminal) - Recommended


![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/5vw3bzgq33btong8okkj.png)

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](https://git-scm.com/downloads)


##Step 3 - Download and install FiraCode (an awesome font for developers)

[FiraCode](https://github.com/tonsky/FiraCode)

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

Now [Download my theme here](https://gist.github.com/ChrisFrontDev/090b4b4e8a175e375b878c025f987dc9)

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
[Download here](https://gist.github.com/ChrisFrontDev/d0a3642ac35c31e3aa0e97f983de139c)

This is my first post i hope you liked, be free to give your feedback <3\
[My gitHub](https://github.com/ChrisFrontDev)

FONTS: 
[Dracula Theme](https://draculatheme.com/contribute),
[oh-my-posh](https://github.com/JanDeDobbeleer/oh-my-posh),
[Tutorial: Set up Powerline in Windows Terminal](https://docs.microsoft.com/en-us/windows/terminal/tutorials/powerline-setup).