How To Install Visual Studio Code on Fedora 35 Workstation

Pinterest LinkedIn Tumblr

Visual Studio Code is a source-code editor made by Microsoft for Windows, Linux and macOS. It is a streamlined code editor with support for development operations like debugging, task running, and version control. It aims to provide just the tools a developer needs for a quick code-build-debug cycle and leaves more complex workflows to fuller featured IDEs, such as Visual Studio IDE.

In this guide we are going to install Visual Studio Code in a Fedora 35 Workstation.

Related Content


To follow along, ensure that you have the following:

  • Up to date Fedora 35 Workstation
  • Root access or User with sudo access on the server

Table of Content

  1. Ensuring that Fedora 35 Workstation is up to date
  2. Installing Visual Studio Code
  3. Launching VS Code

1. Ensuring that Fedora 35 Workstation is up to date

Before proceeding let us ensure that our workstation is up to date. Use this command to achieve this:

sudo dnf update

2. Installing Visual Studio Code

Visual Studio Code packages for Fedora Linux are available on an RPM repository maintained by Microsoft. But you need to import GPG key and add the repository before doing the actual installation of VS Code on Fedora.

To add the repository, let’s start by install the key

sudo rpm --import

Then installing the repository

sudo sh -c 'echo -e "[code]\nname=Visual Studio Code\nbaseurl=\nenabled=1\ngpgcheck=1\ngpgkey=" > /etc/yum.repos.d/vscode.repo'

Now update the package cache and install the package using dnf

dnf check-update
sudo dnf install -y code

Alternatively, you can download the VS Code .rpm file and install it directly:

sudo dnf install -y ./code.x86_64.rpm

You can check all the information about the installed package.

$ rpm -qi code
Name        : code
Version     : 1.61.2
Release     : 1634656920.el7
Architecture: x86_64
Install Date: Thu 04 Nov 2021 11:51:08 PM EAT
Group       : Development/Tools
Size        : 303882220
License     : Multiple, see
Signature   : RSA/SHA256, Tue 19 Oct 2021 06:23:41 PM EAT, Key ID eb3e94adbe1229cf
Source RPM  : code-1.61.2-1634656920.el7.src.rpm
Build Date  : Tue 19 Oct 2021 06:22:18 PM EAT
Build Host  : d71a73a35a3c
Packager    : Visual Studio Code Team <[email protected]>
Vendor      : Microsoft Corporation
URL         :
Summary     : Code editing. Redefined.
Description :
Visual Studio Code is a new choice of tool that combines the simplicity of a code editor with what developers need for the core edit-build-debug cycle. See for installation instructions and FAQ.

3. Launching VS Code

To Launch VS Code on Fedora, open up your terminal then run this command:


Or search from activities menu.

Citizix – launch vscode

You should get VS Code welcome window.

Citizix – vscode welcome

You can then install the plugins to extend VS Code functionality.


We managed to install VS Code in a Fedora 35 Workstation in this guide.

I am a Devops Engineer, but I would describe myself as a Tech Enthusiast who is a fan of Open Source, Linux, Automations, Cloud and Virtualization. I love learning and exploring new things so I blog in my free time about Devops related stuff, Linux, Automations and Open Source software. I can also code in Python and Golang.


  1. Pingback: How to install Atom Text Editor on Fedora 35 – Citizix

  2. Pingback: How To Install VS Codium on Fedora 35 Workstation – Citizix

Write A Comment