Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio Code install location

I installed Visual Studio Code a few days ago, and now I can't find the executable on my machine. Where is it?

I have checked Programs and Features. I have also checked my PATH. For some reason it isn't in either.

like image 933
Shaun Luttin Avatar asked May 15 '15 15:05

Shaun Luttin


People also ask

Where is the VS Code folder located?

The workspace settings file is located under the . vscode folder in your root folder. Note: For a Multi-root Workspace, workspace settings are located inside the workspace configuration file.

Can I install VS Code on D drive?

You can't. There is a large portion that you can install on another drive/partition, but it will always install partially on the Windows drive.


2 Answers

Update 10.11.2018

If you do a complete re-install, including uninstalling prior versions of code installed on your machine the new version will be installed at

C:\Users\{UserName}\AppData\Local\Programs\Microsoft VS Code 

Update 06.07.2018

Since Version 1.25 VS Code supports portable mode. Instructions on how to use this are documented here.

You will need the ZIP file download version - not the installer. After unzipping the contents of the archive, create a data folder inside the folder, where code.exe is located. All settings will now be saved there and can be brought along with you.

|- VSCode-win32-x64-1.25.0-insider |   |- Code.exe (or code executable) |   |- data |   |- ... 

On macOS, the folder must be named code-portable-data and has to be a sibling of the app itself. Not inside the app.

|- Visual Studio Code.app |- code-portable-data 

The reasoning behind this can be read here: What is VSCode User Setup for Windows?


Update

If you are using the x64 version, the path is:

C:\Program Files\Microsoft VS Code\ C:\Program Files\Microsoft VS Code\Code.exe    

Original answer

At this point and time (Version 1.19.2) Vs code no longer resides in your AppData folder, but under

C:\Program Files (x86)\Microsoft VS Code\ C:\Program Files (x86)\Microsoft VS Code\Code.exe    
like image 151
Marco Avatar answered Sep 28 '22 00:09

Marco


I used the new VSCode User Setup installer on Windows 10, and found the executable here:

C:\Users\my-username\AppData\Local\Programs\Microsoft VS Code\ 
like image 20
Cody MacPixelface Avatar answered Sep 27 '22 22:09

Cody MacPixelface