Open In App
Related Articles

How to install Visual Studio Code on Arch-based Linux Distributions(Manjaro) ?

Improve Article
Improve
Save Article
Save
Like Article
Like

Visual Studio Code is free, powerful and one of the most popular IDE in the market. It is a cross-platform application and can be customized heavily by installing various extensions.  All the modern programming languages like C, C++, Java, Python, JavaScript, React, Node JS, etc., are all supported by it.

Features of VS Code

  • Open-source
  • Integrated terminal(CLI)
  • Git Integration
  • Task runner
  • Large community
  • Thousands of extensions
  • Inbuilt support for multi-cursor and text-wrapping

Since VS Code is proprietary software by Microsoft Corp. and not available in the official repositories, we cannot install it using Pacman. So, this article will discuss the most common way to install VS Code on Arch/Manjaro/Chakra.

Installing VS Code

For this tutorial, we are going to use the Yay AUR helper, which is one of the many AUR helpers that can be used to install AUR packages. 

Step 1: Before installing yay, we must install the git and base-devel group packages on the system.

$ sudo pacman -S --needed base-devel git

 

 

 

Step 2: Now, install yay by running the following

$ git clone https://aur.archlinux.org/yay-git.git
$ cd yay-git
$ makepkg -sri

 

 

Step 3: Verify the installation by running.

$ yay --version

 

Step 4: Next, install VS Code by running the following command and opt for the default package once the installation starts.

$ yay -S visual-studio-code-bin

 

 

 

 

Step 5: Finally, launch VS Code. 

 

Uninstalling VS Code

To uninstall VS Code and all of its config files run:

$  sudo pacman -R visual-studio-code-bin

 

Whether you're preparing for your first job interview or aiming to upskill in this ever-evolving tech landscape, GeeksforGeeks Courses are your key to success. We provide top-quality content at affordable prices, all geared towards accelerating your growth in a time-bound manner. Join the millions we've already empowered, and we're here to do the same for you. Don't miss out - check it out now!

Last Updated : 27 Jun, 2022
Like Article
Save Article
Previous
Next
Similar Reads