

zip archive provided for download does not have everything in a top-level folder inside. This destination folder should be empty, as the. It's best to do this within your home folder (if other users want to use Visual Studio Code, it could be extracted separated for them-then any modifications or configuration changes will be per-user). Make a new folder where you want Visual Studio Code to go. (You should probably also review the license terms and privacy policy.) Go to the Visual Studio Code site and click Download Code for Linux.

Here's a GUI-oriented procedure for doing so: Instead you can unzip the archive wherever you want it, then run the program by double-clicking the file called code (which is the main executable). Visual Studio Code doesn't have to be installed, per se. I also downloaded an MS icon for this application from wget Īnd moved it to /opt/msvs: sudo mv flurry*png /opt/msvs sudo cp -R ~/Downloads/VSCode-linux-圆4 /opt/msvs In my case the executable resides inside /opt/msvs. You can also create a desktop link so that you can start it directly from the desktop or double-click in nautilus.Īt the terminal, create a file sudo gedit /usr/share/applications/sktopĪnd copy and paste the following: #!/usr/bin/env xdg-open

Unpack the zip file in your new folder: unzip. Using a terminal:Ĭreate a directory for the files and change to this directory: mkdir msvs & cd msvs deb file now I recommend using that instead of the approach below.
