How to Install Visual Studio Code in Your Ubuntu or Debian Based OS?

by AlanJacob688 in Circuits > Linux

14105 Views, 1 Favorites, 0 Comments

How to Install Visual Studio Code in Your Ubuntu or Debian Based OS?

Vs code in ubuntu.png

Visual Studio Code is a source-code editor made by Microsoft for Windows, Linux and macOS. Features include support for debugging, syntax highlighting, intelligent code completion, snippets, code refactoring, and embedded Git. Users can change the theme, keyboard shortcuts, preferences, and install extensions that add additional functionality.

Advantages of VS Code:

  1. Cross-platform support
  2. Light-weight
  3. Robust architecture
  4. Intelli-sense
  5. Free of cost

Most common languages that are used in VS Code are:

  1. C#
  2. Visual Basic
  3. Java-script
  4. R
  5. XML
  6. Python
  7. CSS
  8. GO
  9. PERL

Download VS Code for Debian, Ubuntu

Screenshot (89).png
Screenshot (90).png
Screenshot (91).png

First step is to download VS Code on Linux.

  1. Go to https://code.visualstudio.com/ and download the .deb version.
  2. Then a pop-up windows appears, select Save File option.

Installing VS Code Using Terminal

Screenshot (92).png
Screenshot (93).png
Screenshot (94).png
Screenshot (95).png
Screenshot (97).png

In second step, we are going to install VS code.

  1. First copy the name of the package.
  2. Right-click and select Open Terminal Here.
  3. Type this code - sudo dpkg -i "package name". For example - sudo dpkg -i code_1.63.2-1639562499_amd64.deb and then press Enter.
  4. Enter your password(actually you can't see your password onscreen but it's there just type it and press Enter).
  5. Now the package is being installed.

VS Code Is Ready to Be Used

Screenshot (98).png

Now the VS code is ready to be used. Go to applications and search Visual Studio Code.

YouTube Video (Optional)

How to install Visual Studio Code in Ubuntu or Debian based OS?