Skip to content

Basic installation guide to usefull Windows Terminal plugins

Notifications You must be signed in to change notification settings

JG2401/PowerShellProfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 

Repository files navigation

PowerShellProfiles

Plugins

Displays the icons you can see on the right-hand side

Nerd-Fonts - Example

For installation run as administrator

Install-Module -Name Terminal-Icons

You can also take a look at the official installation guide.

Important

You must also install Nerd-Fonts.

For installation do the following

  • download a font you like from GitHub. I use FiraCode.
  • unzip the files
  • select all ttf-files, right-click and choose 'Install' or 'Install for all users'
  • then you can select the font in Windows Terminal in the appearance-settings

You can also take a look at the official installation guide.

Changes the path display to the following

Oh My Posh - Example

There are several themes you can select from GitHub. I use M365Princess. You can find them after installation in %USERPROFILE%\AppData\Local\Programs\oh-my-posh\themes.

For installation run

winget install JanDeDobbeleer.OhMyPosh -s winget 

You can also take a look at the official installation guide.

Shows you suggestions and/or your history if you wish

PSReadLine - Example

For installation run as administrator

Install-Module PSReadLine -Force

For this representation you need Set-PSReadLineOption -PredictionSource History and Set-PSReadLineOption -PredictionViewStyle ListView.

Tip

If you want to use Set-PSReadLineOption -PredictionSource HistoryAndPlugin you need at least PowerShell version 7.1.999.

You can also take a look at the official installation guide.

Provides tab completion for common git commands, branch names, paths and more in Powershell

Important

Please check out the Prerequisites before executing the following command.

For installation run

PowerShellGet\Install-Module posh-git -Scope CurrentUser -Force

then add Import-Module posh-git to your Terminal Profile.

You can also take a look at the official installation guide.

Terminal Profile

To open the profile configuration

  • open Windows Terminal
  • select your profile in the dropdown
  • type code $profile and press Enter

My personal profile.

A comprehensive sample for PSReadLine you can find on GitHub.

Problem Solutions

Execution Policies

In case you get an execution-policies error like that

alt text

you can check your policies with

Get-ExecutionPolicy -List

and change it with the following command (run powershell as administrator)

Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser

About

Basic installation guide to usefull Windows Terminal plugins

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published