Installing Visual Studio Code on Ubuntu

Until now, I have written my projects in Sublime Text, it’s a great editor, I strongly recommended it, but when your project tends to expand and have multiple files you need something like an IDE, not just an editor.

After some research, I found out that, surprisingly, an IDE from Microsoft may be the best choice for development under Linux…

Let’s give it a try…

How To install it in Ubuntu!

Simple, follow these steps:

01. First is as usual, we start by updating the  the packages index:

$sudo apt update

02. Install the dependencies by typing:

$sudo apt install software-properties-common apt-transport-https wget

03. With wget,  import the Microsoft GPG key using the following command:

 $wget -q -O- | sudo apt-key add -

04. Now enable the Visual Studio Code repository by typing:

$sudo add-apt-repository "deb [arch=amd64] stable main"

Just tu be sure we will update the entire repository again:

$sudo apt update

05. Now that the repository is enabled and updated,  install the latest version of Visual Studio Code with:

$sudo apt install code


Be the first to comment

Leave a Reply