top ad article

Microsoft Visual Studio Code is an  integrated development environment (IDE) created for developers to make app development easy in any language & for any platform. Visual Studio Code is created by Microsoft, for the development of Android, iOS, Mac, Windows, web, and cloud applications. VSCode can also be used in the development of web sites and web applications/services.

VS Code comes with built-in support for JavaScript, TypeScript and Node.js. It has rich ecosystem of extensions for other languages (such as C++, C#, Java, Python, PHP, Go) and runtimes (such as .NET and Unity). Installation of extensions is an easy process, adding new themes, languages, debuggers, and connection to additional services.

Some key benefits you’ll enjoy by choosing Visual Studio Code as your IDE are:

  • Write your code fast
  • Debug and diagnose with ease
  • Test often, release with confidence
  • Extend and customize to your liking
  • Collaborate efficiently

Microsoft provides packages for the installation of VSCode on Linux, Windows and macOS. The recommended installation method on Linux is via official package repositories. On a Debian based system this will via the APT repository.

Install below tools before adding VSCode repository to MX Linux:

sudo apt update
sudo apt install curl software-properties-common apt-transport-https -y

Enable GPG repository when done:

curl | gpg --dearmor > microsoft.gpg
sudo install -o root -g root -m 644 microsoft.gpg /etc/apt/trusted.gpg.d/

With the GPG key imported add the APT repository

sudo sh -c 'echo "deb [arch=amd64] stable main" > /etc/apt/sources.list.d/vscode.list'

Inform the system of the repository added:

$ sudo apt update
Hit:1 buster InRelease
Hit:2 buster InRelease                                                                                                                                     
Hit:3 stable InRelease                                                                                                                               
Hit:4 stable InRelease                                                                                                                                        
Hit:5 buster-updates InRelease                                                                                                   
Hit:6 buster InRelease                                                 
Hit:7 stable InRelease                                           
Hit:8 buster/updates InRelease                                
Get:9 stable InRelease [3,959 B]  
Get:10 stable/main amd64 Packages [223 kB]
Fetched 227 kB in 3s (76.2 kB/s)   
Reading package lists... Done
Building dependency tree       
Reading state information... Done

Then install Visual Studio Code on MX Linux 19:

sudo apt install code

Wait for the installation of Visual Studio Code on MX Linux 19 to complete.

The following NEW packages will be installed:
0 upgraded, 1 newly installed, 0 to remove and 23 not upgraded.
Need to get 64.8 MB of archives.
After this operation, 273 MB of additional disk space will be used.
Get:1 stable/main amd64 code amd64 1.52.1-1608136922 [64.8 MB]
Fetched 38.2 MB in 10s (3,936 kB/s)                                                                                                                                                                 
Selecting previously unselected package code.
(Reading database ... 433656 files and directories currently installed.)
Preparing to unpack .../code_1.52.1-1608136922_amd64.deb ...
Unpacking code (1.52.1-1608136922) ...
Setting up code (1.52.1-1608136922) ...
Processing triggers for mime-support (3.62) ...
Processing triggers for shared-mime-info (1.10-1) ...
Processing triggers for desktop-file-utils (0.23-4) ...

You can launch Visual Studio Code on MX Linux 19 from the command line or Desktop Launcher.

$ code

The application window should be shown to you and customizations can be started.


Enjoy your new VSCode coding life.

Similar articles:

 Install Brave Browser on MX Linux

How To Install Docker CE on MX Linux

Previous articleHow To Install Brave Browser on MX Linux 19
Next articleAn Effective Mpost Registration Guide in Kenya


Please enter your comment!
Please enter your name here