Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to install Visual Studio Code on Linux?

I have just downloaded VSCode-linux-x64 from the Microsoft website. It's a zip file called VSCode-linux-x64.zip. How can I install it on my Linux system?

like image 642
Yogesh patel Avatar asked May 02 '15 09:05

Yogesh patel


2 Answers

From a few pages deeper into the setup docs in the link you offered...

Linux

  1. Download Visual Studio Code for Linux
  2. Make a new folder and extract VSCode-linux-x64.zip inside that folder
  3. Double click on Code to run Visual Studio Code

Tip: If you want to run VSCode from the terminal, create the following link substituting /path/to/vscode/Code with the absolute path to the Code executable
sudo ln -s /path/to/vscode/Code /usr/local/bin/code in any folder to start editing files in that folder.

Now, you can simply type code . in any folder to start editing files in that folder.

like image 104
ChiefTwoPencils Avatar answered Oct 13 '22 00:10

ChiefTwoPencils


I found the answer to my question and posting the answer so it can help others. To download and install Visual Studio Code on Ubuntu . follow the steps below

  • Download Visual Studio Code for Linux

  • Extract the zip file VSCode-linux-x64.zip

  • Go inside the folder VSCode-linux-x64

  • double click and Run code executable to open Visual Studio Code .

  • You can right click on Visual Studio Code on toolbar (or launcher)
    and select Lock to Launcher. this way you can launch the editor by
    clicking it on launcher.

If you are using terminal follow the terminal commands

  • mkdir your_folder_name && cd your_folder_name unzip
  • ../Downloads/VSCode-linux-x64.zip
  • ./Code

This video will help you to download and install and use Visual Studio Code on Ubuntu if you still have some doubts

like image 32
Yogesh patel Avatar answered Oct 13 '22 00:10

Yogesh patel