Windows Terminal

Install Scoop on Powershell

Set-ExecutionPolicy RemoteSigned -Scope CurrentUserInstall Microsoft Terminal via Scoop scoop bucket add extras scoop install windows-terminal
irm get.scoop.sh | iex

Update Windows Terminal via Scoop

scoop update windows-terminal

Download Nerd-Fonts (Hack) from Github Release Page

Open downloaded zip and install Complete option (usually first file)

Configure Windows Terminal

Restart

...and get something like this

Install a couple of other tools on Terminal

scoop install curl sudo jq
// Install Git for Windows
winget install -e --id Git.Git
// Install VIM for Windows Terminal
scoop install neovim gcc
// user_profile.ps1
// You can do neovim $PROFILE
# Alias
Set-Alias vim nvim
Set-Alias ll ls
Set-Alias g git
Set-Alias grep findstr
Set-Alias tig 'C:\Program Files\Git\usr\bin\tig.exe'
Set-Alias less 'C:\Program Files\Git\usr\bin\less.exe'
scoop install https://github.com/JanDeDobbeleer/oh-my-posh/releases/latest/download/oh-my-posh.json

Add posh init line on $PROFILE

// user_profile.ps1
// You can do neovim $PROFILE
# Alias
Set-Alias vim nvim
Set-Alias ll ls
Set-Alias g git
Set-Alias grep findstr
Set-Alias tig 'C:\Program Files\Git\usr\bin\tig.exe'
Set-Alias less 'C:\Program Files\Git\usr\bin\less.exe'e code

oh-my-posh init pwsh | Invoke-Expression

Install oh my post theme by using below commands, theme library here

Get-PoshThemes
oh-my-posh init pwsh --config 'https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/easy-term.omp.json' | Invoke-Expression

Install Terminal Icons

Install-Module -Name Terminal-Icons -Repository PSGallery -Force
Import-Module Terminal-Icons

Last updated