Installing VS Code on Windows
Now that we have Vagrant installed and we know we can run virtual machines on our Windows machine, the last thing that we have to take care of is to install a text editor.
Guide Tasks
  • Read Tutorial
  • Watch Guide Video
Video locked
This video is viewable to users with a Bottega Bootcamp license

So a text editor is how we're going to edit our code. So we can't edit our code in certain programs, say Microsoft Word or something like that because of how those type of applications in code, the text that we write. We need something specifically geared for editing code and so we're gonna use Visual Studio Code in order to do that.

So you can open up your browser and just type in Visual Studio Code. Now, one thing, if you're new to development, Visual Studio is a tool that was created by Microsoft years ago, Visual Studio Code is a very different application. So you wanna make sure you're getting the right one. So make sure you type in Visual Studio Code and then simply click on that very first link and you'll see we have the ability to download that so I'm gonna download that for Windows. And then they have a really nice set of tutorials on how you can get started. This is a great text editor. We're gonna be using it throughout just about all of the courses you're gonna be going into.

Now, in the next few guides, you're gonna see that I'm gonna teach you some tips and tricks for how to navigate with Visual Studio Code and you're gonna see that I am doing it in different operating systems. So in the next few ones, you're gonna see I'm using the Linux operating system and that's perfectly fine. Visual Studio Code is gonna work the exact same across all of the operating systems so don't let that throw you off.

So now that that's been downloaded, now we need to run the installer. So let's click on that executable file and then read all of the terms and conditions, click Accept, hit Next, hit Next with the default. You can let it be called that so hit Next and hit Next, Next and we're good to go. So this is only gonna take a moment to install all of the dependencies necessary for running this code and it's going to install it on our system. Click Finish when it's done, and this should also open up Visual Studio Code for us.

So you can see, this is the full text editor here and part of the reason why we're using tools like Vagrant is if you look through DevCamp and you look through some of the older videos, you may notice that we had an entire section on how to install VirtualBox with Linux on your machine and that's great. It's great for being able to do that but what it meant was that you actually had to log into the Linux development environment. So you actually had to open up Linux on your Windows machine and if you had a computer that maybe didn't have enough memory or enough space, then that could be kinda laggy but what's so nice about using tools like Vagrant is we can use the text editor directly on Windows.

So we can download Visual Studio Code just like we did right here and we can use it. We don't have to switch into a virtual machine. We're only gonna be using that to run our servers and to compile our code. So we're not gonna have to deal with any of the lag or any of those kinds of annoying things. So if you have Visual Studio Code up now, that means you are ready to go and start learning about how to work with this great text editor.