The built-in PowerShell, although it has features like custom colors, is still too ugly. This article will help you create the most beautiful terminal on Windows 10.
Install Fluent Terminal Recommended: Use Terminus#
Fluent Terminal is a terminal based on UWP and web technologies. Compared to Terminus, it consumes fewer resources, has Chinese translation, and has a GUI for settings.
Download the latest version from the following link:
https://github.com/felixse/FluentTerminal/releases
Unzip it to any location, open the directory, right-click on Install.ps1
and run it with PowerShell, choose Sideloading to install.
Installation completed.
Install Terminus#
https://eugeny.github.io/terminus/
Install oh-my-posh and posh-git#
posh-git: This module is used to integrate git into PowerShell.
oh-my-posh: The protagonist of this beautification, with colored arrow tags.
Set-ExecutionPolicy Bypass
Install-Module posh-git -Scope CurrentUser
Install-Module oh-my-posh -Scope CurrentUser
Enable oh-my-posh and posh-git
Import-Module posh-git
Import-Module oh-my-posh
Set the theme
Set-Theme Agnoster
Optional list
- Agnoster
- Avit
- Darkblood
- Fish
- Honukai
- Paradox
- PowerLine
- robbyrussell
- Sorin
- tehrob
Enter to get the configuration project directory
$profile
Open the file in the console output directory, enter the configuration items, and save
Import-Module oh-my-posh
Set-Theme Agnoster
Open Fluent Terminal to see the effect