Skip to content

Commit f669a6c

Browse files
authored
Create INSTALL.md
1 parent 7f43474 commit f669a6c

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

INSTALL.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
### [PowerShell Console](https://github.com/PowerShell/PowerShell)
2+
3+
A dark theme for the Windows 10 Console, supports both PowerShell and cmd.exe.
4+
5+
#### Theme Installation
6+
7+
1. [Download and unzip](https://raw.githubusercontent.com/dracula/powershell/master/dist/ColorTool.zip) ColorTool. The [source code](https://github.com/Microsoft/console/tree/master/tools/ColorTool) is available from Microsoft.
8+
2. Open PowerShell, navigate to unzipped `ColorTool` directory, and run `ColorTool.exe -b Dracula.ini`.
9+
3. Right-click on the window titlebar and choose `Properties`, then on the `Font` tab choose Consolas. Click `OK` to save.
10+
* Note that this step is required, even if your font is already set to Consolas, due to the way that the windows console saves its settings.
11+
12+
For cmd.exe support, perform the same steps above but in a cmd.exe window.
13+
14+
#### PowerShell prompt
15+
16+
1. Install the 1.0 version of posh-git.
17+
* It's currently prerelease, so you'll need to install it with `Install-Module -Name posh-git -AllowPrerelease -Force`
18+
* If you don't have an `-AllowPrerelease` flag, upgrade PowerShellGet with `Install-Module -Name PowerShellGet -Force` first.
19+
2. Ensure the latest version of PSReadLine (2.0 or later) is installed. It's installed by default in Windows 10, but you'll most likely [need to upgrade it](https://github.com/lzybkr/PSReadLine#user-content-upgrading).
20+
3. Include [this powershell configuration](https://github.com/dracula/powershell/blob/master/theme/dracula-prompt-configuration.ps1) in your PowerShell `$profile` file.
21+
22+
#### cmd.exe prompt
23+
24+
Set the environment variable `prompt` to `$E[1;32;40m→ $E[1;36;40m$p$E[1;35;40m› $E[1;37;40m`
25+
26+
#### Questions?
27+
28+
See our [FAQ section](https://github.com/dracula/powershell#frequently-asked-questions) for answers, or [open an issue](https://github.com/dracula/powershell/issues) for help.

0 commit comments

Comments
 (0)