- Set the execution policy:
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned
-
Install Starship:
-
Visit Starship
-
Install via Winget:
winget install starship
-
Copy the
starship.tomlfile to (you must create the .config folder first) :C:\Users\$your_user$\.config\starship.toml
Choose either script based on your preference.
- The script named `starship.toml` corresponds to the terminal labeled 1 in the picture.
- The script named `starship(2).toml` corresponds to the terminal labaled 2 in the picture.
**Note**: If you select `starship(2).toml`, please rename it to `starship.toml`.
-
-
Install zoxide (a smarter
cdcommand):- Visit zoxide
-
Install Terminal Icons (icons for
lscommand):- Visit Terminal Icons
-
Install PSProfiler (for time measurements):
- Visit PSProfiler
-
Install PSReadline (for command autocompletion):
- Visit PSReadline
-
Choose your favorite Nerd Font:
- Visit Nerd Fonts
- Open PowerShell and type:
This command will display the path where the
$profileMicrosoft.PowerShell_profile.ps1file should be located. - Copy the
Microsoft.PowerShell_profile.ps1file from my repository to this path.
-
Restart the PowerShell
-
It is also possible to reset the pwsh using
. $profile
Enjoy!
~ John
