How to add and remove profiles in the Windows Terminal
app. Do you find yourself constantly opening different
command line apps just to get your work done?
The Windows Terminal is here to streamline that chaos.
It's a modern, unified interface for all your shells like
PowerShell, CMD, WSL, and even Azure
Cloud shells. Before we begin, be sure to subscribe to Ninja
One's IT video hub and our YouTube channel for more tech
content like this. Introduction to Windows
Terminal profiles. Windows Terminal lets you
create custom profiles, each with preconfigured environments
that define how a shell behaves. This means you can seamlessly
switch between your favorite tools with a single click, boosting your
efficiency and productivity. Adding new
profiles to Windows Terminal. You can add new Windows Terminal
profiles using two methods.
First, the settings UI. Just open the terminal, go to
settings, control plus, select
profiles,
and click plus add new at the bottom of the list.
From there, you can name your profile, set its command line,
and configure options like starting directory, icon, and
appearance. Once you're done, hit save.
The second method is by directly editing settings dot json.
Open the json file by holding shift while clicking settings
or by selecting open json file. Locate
the list array under profiles and add a new json
block for your profile, including its command line, a
unique GUID, set hidden false, and
name. Save the file and the terminal will reload with your new
profile. Deleting and customizing existing
profiles. To remove a profile, you also have two
options.
Using the settings UI, navigate to settings,
then to profiles, select the profile,
click delete profile on the right, confirm, and
save. Remember, you can't delete default profiles,
only custom ones.
For advanced users, you can delete a profile via settings dot
json. Open the json file,
find the profiles object and list
array, then locate and delete the entire
json block for the profile you wish to remove.
Save the file and restart the terminal.
You can also deeply customize profiles.
The settings UI offers quick changes for appearance and advanced
settings. For bulk edits or specific configurations like background
images or opacity, you'll want to use settings dot
json, modifying properties within the profiles json
block.
Advanced profile management and troubleshooting
tips. Optimize your workflow by setting a
default profile to open automatically.
You can do this through the UI in settings, then go to startup,
or by changing the default profile key in settings dot
json to your preferred profiles GUID.
You can also assign keyboard shortcuts for quick switching by adding
actions to the actions array in settings dot json.
If profiles aren't appearing, check settings dot json for
syntax errors, duplicate GUIDs, or incorrect command
lines. Ensure hidden is not set to true.
For unsaved settings or corrupted files, try running the terminal
as administrator, restoring from a backup, or
renaming/deleting settings dot json to reset it.
Always back up your settings dot json regularly to prevent data
loss. Whether you're adding new shells or fine-tuning
existing ones, you have the flexibility to create a truly
efficient and customized environment.
Don't forget to implement regular settings dot json backups as a best
practice. For more information, check out our official blog post
on how to add and remove profiles in the Windows Terminal app in
Windows 10 linked in the description
below.