How To Install GIT Bash? And Integrate With Visual Studio Code.




How To Install GIT Bash? And Integrate With Visual Studio Code.


  • "terminal.integrated.shell.windows": "C:\\Program Files\\Git\\bin\\bash.exe",

GIT Bash is a very useful tool, as all developers have started using Linux more than programmers. Today, big companies are using Linux, because its environment is very different from the command prompt because, with the command given by you in git bash, you can do all the work that you do normally.

But I would like to tell you, the Linux environment will be new to you initially and you will have to learn its commands to run it only then you will be able to run it.

By the way, GIT Bash is very easy to learn. Now let’s download and install GIT Bash on your computer

First of all, you have to go to the Internet browser and type GIT Bash in the search engine.

You will see that the first link is of GIT Bash and click on it.
As you can see, this web page is the official website of GIT Bash and here new updates of git bash are coming on this web page. It is also available for Mac, Windows, and Linux. So download it according to the dew of your computer. This computer will download according to the dew. Simply click on the download button.

Click here to download BIT Bash ->



You have to take all the information carefully and then do it on the next.

And by the way, all the settings have been done while downloading git bash, you just have to install it.
Simply click on Next. And just like that, you have to keep clicking on Next,
Now installed.
GIT Bash will be installed in your system shortly.
Then finish it.

After GIT installation, you have to open a simple visual studio code and you have to press crtl + tild through the keyboard, the terminal will open in front of you, you will see that Powershell.

Powershell has to be moved and integrated bash.
Simply click on the File, then below you will see the Preferencesgo to it and then click on Settings.
After this, the settings page will open. You do not need anyone to change. You have to click Open Settings (JSON) on the top-right site.
Whatever code is written in this setting, let them 
remain as they are; there is no need to make any changes.
Simply paste this code upwards where some code is already written. And save it.
“terminal.integrated.shell.windows”: “C:\\Program Files\\Git\\bin\\bash.exe”, }
Close and open Visual Studio Code again. 
Now when pressing ctrl + tilde through the keyboard, the terminal will open which will be the bash terminal rather than the PowerShell terminal.
Now you can run all the commands of Linux here.

Reactions

Post a Comment

0 Comments