Warning: installation below changes registry irreversibly. You may want to create backup of the items mentioned in colors.reg
before proceed.
Clone or download the git repo
git clone https://github.com/seven-two-eight/ps-monokai-theme.git
Run install.ps1
with administrator privilege from the repo folder to import registry and PowerShell profile.
Or you can do this manually by double clicking colors.reg
, and then copy Microsoft.PowerShell_profile.ps1
from the repo folder to $HOME\Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1
.
The profile script works for PowerShell 5 and some versions of PowerShell 6 (depending on your version of PSReadline
module).
Restart all PowerShell instances to see effect.
powershell.exe
has its own color pallets. You need to recreate such shortcut to see the effect."workbench.colorCustomizations" : {"terminal.background" : "#272822"}
colors.reg
is inspired by HKCU-Console.reg
from the archived repo https://github.com/ntwb/posh-monokai
.Microsoft.PowerShell_profile.ps1
is set up to reproduce Cmder-style prompt.