How to install Visual Studio Code on Arch Linux and derivatives

  • Visual Studio Code is a powerful, extensible, and cross-platform code editor with support for a multitude of languages.
  • Microsoft's official binary is not free software, but its core is released under the MIT license and has alternatives such as VSCodium.
  • In Arch Linux and derivatives, VS Code is usually installed from the AUR (visual-studio-code-bin), either with git+makepkg or helpers like yay or paru.
  • Microsoft offers official repositories for Debian, Ubuntu, RHEL, Fedora, and openSUSE, facilitating complete integration with their package managers.

Visual Studio Code

If you use Arch Linux or one of its derivatives and you enjoy programming, sooner or later you're going to come across Visual Studio Code, Microsoft's cross-platform code editor . It's lightweight, very powerful, and full of extensions, but when it comes to installing it on Arch, several questions arise: Should I use the official Microsoft package? Should I use the AUR? What are the differences between it and Code-OSS or VSCodium? Here you'll find all that, step by step and without any fuss.

Throughout this guide, you'll learn how to install Visual Studio Code on Arch Linux and its derivatives using different methods, which package to choose in each case, the licensing and telemetry implications, and how to install it on other GNU/Linux distributions if you work with multiple systems. You'll also get a good overview of its features, advantages, and limitations compared to the full Visual Studio , so you'll have a clear understanding of what to expect from the editor.

What exactly is Visual Studio Code?

Visual Studio Code (VS Code) is a cross-platform source code editor developed by Microsoft, featuring a modern interface, fairly good performance, and a huge community of extensions. Although it was closed-source for quite some time, the core of the project was released under the MIT license , and its code can be viewed, analyzed, and modified on GitHub.

It's important to note a key distinction: the source code is under MIT, but the "Visual Studio Code" package distributed by Microsoft is not free software . This binary includes proprietary components (icons, branding, integrated services, telemetry, etc.). In practical terms, it's free, very usable, and integrates well with Linux, but if you're a strict free software purist, this difference is important to you.

Languages ​​and technologies supported by VS Code

One of VS Code's greatest strengths is that it's not limited to Microsoft languages ​​like C# or Visual Basic . Out of the box and through extensions, it supports a vast catalog of languages ​​and technologies, with syntax highlighting, autocompletion, debugging, and specialized tools.

Natively or with official extensions, you can work with C, C++, Java, Go, Python, PHP, Ruby, Perl, Rust, PowerShell, Bash, Batch, and many others . Furthermore, it integrates seamlessly with everything related to web development: HTML, CSS, JavaScript, TypeScript, JSON, Less, Sass, and derivatives.

It also includes support for common configuration files and formats such as XML, Markdown, Dockerfile, Makefile, INI, SQL, Lua, F#, Objective-C, Razor, and many more. Thanks to the extension marketplace, virtually every modern language you can think of has a plugin with syntax support, snippets, and tools.

Key features of Visual Studio Code

Beyond being "just another editor", VS Code shines for a number of features that have made it one of the favorite options for developing in .NET and in a bunch of different stacks , both on Windows and on macOS and Linux.

True cross-platform

VS Code is available with official binaries for Windows, macOS, and GNU/Linux . On Linux, you can download it directly from the Microsoft website in DEB and RPM formats, or install it through official repositories, third-party repositories, or the AUR (Arch Linux Application Repository).

In practice, the experience is quite consistent across systems: same interface, same extensions, and same configuration logic . This is an advantage if you frequently switch between operating systems or if you have mixed environments.

Extensions and plugins

Through its marketplace, VS Code allows you to install extensions for almost anything : new languages, color themes, linters, formatters, integrations with Docker, Kubernetes, GitHub, GitLab, databases, cloud tools like Azure, etc.

For the Microsoft ecosystem, the integration is especially good: official plugins for Azure, remote development, containers, DevOps, and continuous deployments . You can have a complete working environment within the editor itself, without having to leave it for many common tasks.

IntelliSense and smart autocomplete

One of its standout features is its autocomplete engine called IntelliSense . Basically, as you type, the editor suggests methods, variables, properties, or code snippets based on context and the language's type information.

This predictive system eliminates the need to type out complete instructions , reduces syntax errors, and significantly speeds up writing, especially in large projects. In languages ​​like TypeScript, C#, or JavaScript, the productivity boost is very noticeable.

Integration with version control

VS Code includes built-in support for Git, allowing you to commit, view changes, manage branches, and review history directly from the editor interface. For many simple projects, you don't even need to open the terminal for basic version control tasks.

If you want to go further, there are extensions that add advanced integrations with GitHub, GitLab, Bitbucket, or other services , allowing you to review pull requests, manage issues, and perform other tasks directly from VS Code.

Licensing, open source, and participation

Although the official Microsoft binary is not open source, the main source code for VS Code is released under the MIT license . This means that anyone can download it from GitHub, review it, modify it, and submit suggestions to the development team.

Thanks to this openness, forks like VSCodium and Code-OSS have emerged , which remove the proprietary components (Microsoft trademarks, telemetry, etc.) and are distributed under completely free licenses. Understanding this difference is important when choosing which variant to install on your Arch system.

Differences between Visual Studio and Visual Studio Code

Many people confuse the two products, but Visual Studio and Visual Studio Code are not the same and are not used in the same way . They share a name and some of the same approach, but their nature is different.

Visual Studio (plain and simple) is a complete IDE for Windows, designed primarily for large projects in .NET, C++, heavy desktop development, etc. It includes compilers, advanced debuggers, project wizards, testing tools, and a host of extra components.

Visual Studio Code , on the other hand, is a code editor . It's lighter, more modular, and more extensible, but it doesn't include compilers or toolchains by default. To compile and run code, you need to have the language tools installed separately (for example, the .NET SDK, your system's C++ compiler, Node.js, etc.).

This has some clear consequences: VS Code doesn't include complex project templates like Visual Studio ; instead, you typically start from existing folders or use external generators (for example, framework CLIs). Furthermore, debugging depends on extensions and the installed compilers or runtimes.

Installing Visual Studio Code on Arch Linux and derivatives from the AUR

Now we get to what you're really interested in: how to install Visual Studio Code on Arch Linux or its derivatives (Manjaro, EndeavourOS, etc.). In the Arch ecosystem, VS Code is primarily distributed through packages from the AUR, which are managed by the community.

VS Code bundles available in AUR

In the AUR you'll find several packages related to VS Code. The most common ones are:

  • visual-studio-code-bin: package with the Official Microsoft VS Code pre-compiled, exactly as distributed by the company.
  • visual-studio-code (sometimes): version that compiles the editor from the source code, but keeping Microsoft components.
  • queues or derivatives like vscodium-bin: variants reconstructed from the MIT code, without telemetry or Microsoft branding.

If what you want is the "real" Microsoft version of VS Code, with all its features and branding, the package you're interested in is usually visual-studio-code-bin , which directly downloads the official binaries and integrates them into your Arch system.

Manual installation from AUR using git and makepkg

If you want maximum control over what you install, you can clone the AUR repository and manually generate the package using makepkg. Before doing so, make sure you have Git and the basic build tools installed (base-devel on Arch).

A typical flow would look something like this:

Create a working directory to clone AUR repositories (optional, but recommended to keep it organized):

$ mkdir -p /home/user/git
$ cd /home/user/git

Clone the visual-studio-code-bin package repository from the AUR :

$git clone https://aur.archlinux.org/visual-studio-code-bin.git

After cloning, enter the package directory :

$ cd visual-studio-code-bin

At this point you can open and review the PKGBUILD file with your favorite editor to check where it downloads the binaries from and what exactly it does in the installation process.

Once you're clear on that, generate and install the package with makepkg (the -s option installs dependencies and -i installs after compiling):

$ makepkg -si

The system will download the official Microsoft binary, package it in Arch style, and install Visual Studio Code on your computer. This method is more transparent because you see the entire process and have direct control over the build files.

Installing VS Code on Arch with yay or paru

If you prefer to go faster and already use an AUR helper like yay or paru , the process is greatly simplified, as these tools take care of cloning, building, and installing the package automatically.

For example, with yay you can do the following to install the official binary:

$yay -S visual-studio-code-bin

The program will download the repository from the AUR, show you the PKGBUILD for you to review if you wish, and then proceed to build and install VS Code on your system . It's a quick and convenient way, especially if you're coming from other distributions with simpler package managers.

With paru the approach is almost identical, you simply change the initial command:

$ paru -S visual-studio-code-bin

In both cases, you'll have the official Microsoft version integrated into your applications menu and updatable along with the rest of the packages when you run your regular AUR updates.

Free alternatives: Code – OSS and VSCodium on Arch

If you're concerned about licensing or telemetry, you can opt for open-source alternatives like VS Code , which remove branding and certain Microsoft-related features.

In Arch and its derivatives, it's common to find packages like code , code-oss , or vscodium-bin , which are reconstructions of the editor based on the MIT repository, without the proprietary elements. The user experience is very similar , with the same extensions and almost the same options, but without the "Visual Studio Code" branding and with a more privacy-conscious approach.

In either case, if your priority is to have the same feel as the official VS Code and you don't mind the proprietary license, the visual-studio-code-bin package from the AUR is still the most straightforward option.

With all this in mind, if you like Arch and want to use Microsoft's Visual Studio Code with all its features , the combination of AUR + visual-studio-code-bin (whether with git and makepkg or with yay/paru) is a mature, tested and widely used solution by the community, so it shouldn't be a real obstacle to making the switch to this distribution.


Add as preferred source in Google