DEV Community


Discussion on: How to set Git Bash as integrated terminal in VSCode in 2021

melvh profile image

In case you have not been able to resolve your default shell in vs code, i updated mine today using the following:
"": {
"PowerShell": {
"source": "PowerShell",
"icon": "terminal-powershell"
"Command Prompt": {
"path": [
"args": [],
"icon": "terminal-cmd"
"Git Bash": {
"source": "Git Bash"
"": "Git Bash",

This worked for me. My default shell is now Git Bash.

Further note:
Originally, there were settings in my JSHint extention configurations as follows:
"": "C:\Program Files\Git\bin\bash.exe",
"": [

I removed this piece of original settings first.