Home >> Latest Articles >> Integrate Git Bash with Visual Studio Code

Integrate Git Bash with Visual Studio Code

Integrate Git Bash with Visual Studio Code: To Integrate Git Bash with Visual Studio Code please follow the below instruction step by step.
Integrate Git Bash with Visual Studio Code

Following are the steps:

  1. First, Install Git Bash - Download & Install Git
  2. Second, Install Visual Studio Code - Download & Install Visual Studio Code
  3. Now, Open your Visual Studio Code Editor, and Go to File > Preferences > Settings (Or just Press Ctrl + ,)
  4. Note: if you are not able to find then click on ... on right side and open settings.json

  5. Now, Copy Paste the following code in User Settings
  6. // Git Bash
    "terminal.integrated.shell.windows": "C:\\Program Files\\Git\\bin\\bash.exe"
    

    Ref Link - https://code.visualstudio.com/docs/editor/integrated-terminal

  7. To Check, Press Ctrl + ~ (Control+Tilde) and your Bash Terminal will open and selected as bash.
  8. Congrats!, you have successfully Integrated Git Bash with your Visual Studio Code.

Full Stack Tutorials

Author @FullStackTutorials | View all Articles