Here are steps to beautify PowerShell.
PowerShellGet is a PowerShell module with commands for discovering, installing, updating and publishing the PowerShell artifacts like Modules, DSC Resources, Role Capabilities and Scripts.
# Install
Install-Module -Name PowerShellGet -Force
posh-git is a PowerShell module that integrates Git and PowerShell by providing Git status summary information.
PowerShellGet\Install-Module posh-git -Scope CurrentUser -AllowPrerelease -Force
# Install oh-my-posh
Install-Module oh-my-posh -Scope CurrentUser
# Set Theme
Set-Theme Paradox
Update the content of $PROFILE
to Microsoft.PowerShell_profile.ps1
.
# Show the location of PowerShell Profile
$PROFILE
Sarasa-Gothic is a Chinese & Japanese programming font based on Iosevka and Source Han Sans.
We should use Sarasa Mono SC
fonts:
sarasa-mono-sc-bold.ttf
sarasa-mono-sc-bolditalic.ttf
sarasa-mono-sc-italic.ttf
sarasa-mono-sc-regular.ttf
concfg is a utility to import and export Windows console settings like fonts and colors.
# Install scoop
iex (new-object net.webclient).downloadstring('https://get.scoop.sh')
# Install concfg
scoop install concfg
# Import theme settings
concfg import .\Theme.cfg
Update terminal.integrated.fontFamiliy
in User Settings
to Sarasa Mono SC
.
{
"terminal.integrated.fontFamily": "Sarasa Mono SC"
}