How to Change Default Directory in Windows Terminal

In Windows Terminal, the current user directory is the default directory.

If you wish, you can change it. Let’s see how to do it on Windows 10.

Start the Run dialog box by pressing Windows + R. Type wt and then press Enter.

In Windows Terminal, click the down arrow at the top.

Click Settings.

The left sidebar displays the available profiles: Windows PowerShell, Command Prompt, and Azure Cloud Shell.

Click on the one for which you want to change the default directory.

Click the Browse button next to the “Starting directory.”

Once you select the one you prefer, hit the Select Folder button.

Hit the Save button at the bottom.

That’s all.

In order to revert, follow the above steps but specify %userprofile% as the “Starting directory.”

Read: