Skip to content

Instantly share code, notes, and snippets.

@zozobalogh0817
Last active November 11, 2021 12:26
Show Gist options
  • Save zozobalogh0817/96ac43ef840dc83245a5ca7325f7ae0d to your computer and use it in GitHub Desktop.
Save zozobalogh0817/96ac43ef840dc83245a5ca7325f7ae0d to your computer and use it in GitHub Desktop.
This commands need to use Basic Tools Profile in PowerShell 7

Pre installing PowerShell v7.2.0 or higher is required with along Windows Terminal

Windows Terminal

PowerShell v7.2.0 or higher

When you have successfully downloaded windows terminal

Download https://github.com/ryanoasis/nerd-fonts/releases/download/v2.1.0/CascadiaCode.zip Install Fonts by Win + R type C:\Windows\Fonts, simply drag the files from the zip to here.

Then open Windows Terminal settings

Open Settings

Go to left side panel click to PowerShell then click to Appereance

Font Settings

Then under Font Select dropdown select

Font Selection

After all this you ready to rock and roll

winget install JanDeDobbeleer.OhMyPosh
Install-Module -Name TerminalIcons -Repository PSGallery

This install needed while the PSReadLine's -PredictionViewStyle ListView function still in beta

Install-Module -Name PSReadLine -RequiredVersion 2.2.0-beta3 -AllowPrerelease

Then if this done open up a PowerShell-7 And type

echo $PROFILE
# This will result something like this C:\Users\Z\Documents\PowerShell\Microsoft.PowerShell_profile.ps1
# Go to location where the powershell folder should be located and then create it with along the PowerShell Profile
cd C:\Users\Z\Documents\
mkdir PowerShell

Go to https://gist.github.com/zozobalogh0817/e1db0f93c75805b5821ba150568ee990 download it and place to the powershell folder what we have just created

Go to C:\ drive and create a folder called PowerShellThemes download the following json file and place it to there https://gist.github.com/zozobalogh0817/844ed5657efaebd068aaa02d41c9c1f1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment