On Windows 10, the Windows Terminal app comes with a set of default customization settings, including a dark background color for every profile.
Although the default settings are optimal for most users, those who have been using Command Prompt and PowerShell separately for a long time may find it a little confusing, since the blue background in the PowerShell console provided a visual queue of the command-line tool they were using.
If you prefer the legacy blue background on PowerShell, Windows Terminal allows you to change the color scheme using the settings UI (version 1.6 or later) or “settings.json” file.
In this guide, you will learn how to change the default PowerShell color scheme for the Windows Terminal app on Windows 10.
- Change PowerShell color scheme using Windows Terminal settings UI
- Change PowerShell color scheme using Windows Terminal settings.json
Change PowerShell color scheme using Windows Terminal settings UI
To bring back the blue background to PowerShell with the settings UI, use these steps:
- Open Windows Terminal.
- Use the Shift + Ctrl + , (comma) keyboard shortcut to open the settings UI.
- Quick note: This option is available starting version 1.6. You can use these steps to enable the settings interface on your computer.
- Click on Windows PowerShell (or PowerShell if you use PowerShell 7).
- Click the Appearance tab.
- Under the “Text” section, use the Color scheme drop-down menu and select the Campbell PowerShell option.
- PowerShell blue background option
- Click the Save button in the bottom-right corner.
Once you complete the steps, open a new PowerShell session, and it should now appear with the traditional blue color background.
Open Windows Terminal.
Use the Shift + Ctrl + , (comma) keyboard shortcut to open the settings UI.
Click on Windows PowerShell (or PowerShell if you use PowerShell 7).
Click the Appearance tab.
Under the “Text” section, use the Color scheme drop-down menu and select the Campbell PowerShell option.
PowerShell blue background option
Click the Save button in the bottom-right corner.
Change PowerShell color scheme using Windows Terminal settings.json
To change the color scheme for PowerShell to bring back the legacy colors with the settings.json file, use these steps:
- Open Windows Terminal.
- Use the Ctrl + Alt + , (comma) keyboard shortcut to open the settings.json file with the default code editor.
- Under the “profiles” section, inside the brackets for PowerShell, type the following command to change the background color and other elements of the UI:
- “colorScheme”: “Campbell Powershell”
- PowerShell change color scheme settings.json
- Quick tip: If you have more than one line of code inside the bracket, make sure all the lines end with a comma (,) except for the last line. Otherwise, the settings may not save correctly.
- Use the Ctrl + S keyboard shortcut to save the file.
Once you complete the steps, the command-line tool will now use the same blue background found in the traditional version of PowerShell.
Use the Ctrl + Alt + , (comma) keyboard shortcut to open the settings.json file with the default code editor.
Under the “profiles” section, inside the brackets for PowerShell, type the following command to change the background color and other elements of the UI:
“colorScheme”: “Campbell Powershell”
Use the Ctrl + S keyboard shortcut to save the file.