§PowerShell Console
A dark theme for the Windows 10 Console, supports both PowerShell and cmd.exe.
§Theme Installation
There are 3 parts to configure; all of them are optional:
- Install the prerequisites:
- PSReadLine 2.0 or later. It's installed by default in Windows 10, but you'll most likely need to upgrade it. You can verify your PSReadLine version by running
(Get-Module PSReadLine).Version.Major - Install git integration (posh-git) with
Install-Module -Name posh-git -AllowPrerelease -Force. If you don't have an-AllowPrereleaseflag, upgrade PowerShellGet withInstall-Module -Name PowerShellGet -Forcefirst. If that still doesn't work, see this reported fix (thanks @LukeSavefrogs!).
- PSReadLine 2.0 or later. It's installed by default in Windows 10, but you'll most likely need to upgrade it. You can verify your PSReadLine version by running
- Download and unzip ColorTool. The source code is available from Microsoft.
- Open PowerShell, navigate to the unzipped
ColorTooldirectory, and runinstall.cmd. - Include this powershell configuration in your PowerShell
$profilefile.1 - Right-click on the window titlebar and choose
Properties, then on theFonttab choose Consolas. ClickOKto save.
Set the environment variable prompt to the value in this file. These crazy strings are called ANSI Escape Sequences.
In Windows 10, the titlebar color can be set system-wide in Settings → Personalization → Colors → Custom color → More → #262835.
§Questions?
See our FAQ section for answers, or open an issue for help.
