
Byte Sized: Changing Default Terminal in vscode
- 2024-12-22
- 1 minute to read
Table of Contents
A long time ago in a galaxy far, far away…
This post is over 12 months old, that's a long time in tech! Please be mindful of that when reading this post, young Padawan, as it could be outdated. I try to keep things up to date as much as possible. If you think something needs updating, please let me know in the comments.
The Problem
I use vscode on a daily basis on macOS. The default terminal is set to bash but I tend to use PowerShell most often. I want to change the default terminal in vscode so that it starts in Powershell.
The Fix
The setting found in settings.json is terminal.integrated.shell.osx. There are two keyboard shortcuts to reach it:
Preferences
Open preferences by pressing CMD + , and search for terminal.integrated.shell.osx from there you can enter your preferred shell.

Command Palette
Open the command palette by pressing SHIFT + CMD + P and search for Default terminal. Select Terminal: Select Default Profile. From there you can enter your preferred shell.

The Result
Now when I open terminal it will default to pwsh. I can still switch to zsh by typing zsh in the terminal.
#mtfbwy
Comments