A dark theme for the Windows 10 Console, supports both PowerShell and cmd.exe.
There are 3 parts to configure; all of them are optional:
Powershell colors
- 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-AllowPrerelease
flag, upgrade PowerShellGet withInstall-Module -Name PowerShellGet -Force
first. 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
ColorTool
directory, and runinstall.cmd
. - Include this powershell configuration in your PowerShell
$profile
file.1 - Right-click on the window titlebar and choose
Properties
, then on theFont
tab choose Consolas. ClickOK
to save.
CMD.exe Prompt
Set the environment variable prompt
to the value in this file. These crazy strings are called ANSI Escape Sequences.
Windows Titlebar Color
In Windows 10, the titlebar color can be set system-wide in Settings β Personalization β Colors β Custom color β More β #262835.
See our FAQ section for answers, or open an issue for help.