How to Install Visual Studio Code on Mac | Install VSCode on macOS (2024)

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
hey guys in this video I'm going to show you how you can download and install Visual Studio code on your Mac operating system so let's get started and let's see how we can do it so first of all you just need to open your favorite browser and search for visual studio code and the first link which will appear here will be from code dovisual studio.com so we are going to click on this link which will redirect us to this page here you will be able to see uh download Mac universe veral you also have the options for Windows and Linux but we are on the Mac operating system so we can just click on this download button once you click on uh the download button you will see that this Visual Studio code ZIP file will be downloaded so we are going to uh just click on this uh ZIP file which is going to extract this ZIP file and then it's going to look like this so the extracted Visual Studio code code uh icon is visible here so you can directly open Visual Studio code from here so when I click on Visual Studio code it's going to open right but we want to transfer this Visual Studio code application into our applications folder so from the next time we will be able to use that uh from our Launchpad or the applications folder so for that right click on the finder here and then open a new window for the finder and then click on the applications folder and just drag and drop this Visual Studio code application so what you need to do is just select the visual studio code application from here press command key and then drag and drop this uh icon into your applications folder so just drag and drop into the applications folder and now this is copied into the applications folder once you copy the visual studio app in your applications folder you will be able to open the Launchpad and then you will be able to see the visual studio code icon here so from the next time you can open it from the Launchpad now we can close all these things let's launch Visual Studio code from here and when you open the visual studio code it will going to look like this now using visual studio code is really simple if you want to open a directory you can just click on file and then click on open and then open any folder from here you might also want to open the visual studio code using the terminal so when I open the terminal when I click on this uh Spotlight and then search for the terminal and open the terminal and when I give this code command and then press enter it says zsh command not found for the code application so our terminal right now doesn't recognizes the code command so how we can fix this so let me uh quit from this terminal and then what you need to do is just open your Visual Studio code and then press command shift p so press command shift p and then type here shell commands Okay so just type shell command here and you will see two commands one is uninstall code command from path and other is install code command in path so first of all we are going to click on the second option which says uninstall code command in path so I'm going to just uh press on this option and then click on okay once that's done once again press command shift p and then once again write shell command here so shell command and this time press on this option which says install code command in path okay so first uninstall and then click on install code command in path so I'm going to click on this uh option and it says code will now prompt with Osa script for administrator privileges to install the shell command so I'm going to click on okay here and then you need to provide your MacBooks password which you use to log to your Macbook so let me provide that and then press on okay and once that's done you can see shell command code successfully installed in path so once that's done you can open the terminal once again so quit the terminal and when you reopen the terminal again so let me reopen the terminal and then now you will be able to use the code command so when I write code here and then press enter it's going to open the visual studio code so now this is the way to set the path of Visual Studio code in your zsh path so that it recognizes the code command so now let's say let me close this Visual Studio code editor from here and then if I open the terminal and let's say I will CD into my documents folder so let me CD into the documents folder and here I have a few directories and I want to open the my project directory using visual studio code I can just CD into my projects directory and then I can write code space dot which is going to open the my projects directory in the code application so I'm going to press enter and then you can see it opens my project into Visual Studio code and and here you can see it says do you trust the author of the files in the folder I will click yes here and I can also click on this checkbox and if I check this checkbox from the next time it's going to trust the document folder so I'm going to press yes here and now you can see this project is open this project is about uh hello world Java program so you can see uh I can open the hello. Java file when whenever you uh open any program file in Visual Studio code if Visual Studio finds the extension pack for that language it's going to suggest you to install the extension pack for that language as in this case you can see it's recommending us to install the Java language pack so you can install that uh from the extension so here you can see right now we we are in the Explorer you can also search for some words for example I want to search for Hello here so it searches for the hello keyword in all the files in the present directory if I want to replace the word then I can replace also and if you your project contain multiple directories then you can include or exclude the search from a certain directory using these two options if you are using Git Version Control then you can also see the Version Control changes in this git section you also have the debug section and then you also have the extensions section as I mentioned there are some popular extension for each and every language for example you can see this uh python support so if you want to develop python then you can uh install this extension which is from Microsoft itself and it was downloaded around 106 million times so it's the most popular for python C++ extension is there and similarly you will find the support for each and every language in the extensions for example if I want to uh search for Java it's going to search for Java pack and then it's going to uh suggest you the extensions related to Java so this is how you can download and install Visual Studio code on your Mac operating system and use it to develop your favorite programming language I hope you've enjoyed this video and I will see you in the next video
Info
Channel: ProgrammingKnowledge
Views: 36,242
Rating: undefined out of 5
Keywords: Does VS Code support macOS?, How to install code command Mac?, Where does VS Code get installed in Mac?, How do I manually install VS Code extensions on Mac?, visual studio code mac terminal, visual studio code download, install visual studio code mac, visual studio code mac download, visual studio code mac m1, visual studio download, open vscode from terminal mac, visual studio code windows 7
Id: w0xBQHKjoGo
Channel Id: undefined
Length: 8min 43sec (523 seconds)
Published: Thu Jan 11 2024
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.