Linux

How to Install Visual Studio Code on Linux

Updated at February 11, 2026
10-20 min
Medium
FixPedia Team

Visual Studio Code — a popular IDE for programmers. This guide will show you how to install VS Code on Linux through the official repository or Flatpak.


Step 1: Installation via the official repository (Ubuntu/Debian)

sudo apt update
sudo apt install software-properties-common apt-transport-https wget -y
wget -q https://packages.microsoft.com/keys/microsoft.asc -O- | sudo apt-key add -
sudo add-apt-repository "deb [arch=amd64] https://packages.microsoft.com/repos/vscode stable main"
sudo apt update
sudo apt install code -y

Step 2: Installation via Flatpak (any distribution)

flatpak install flathub com.visualstudio.code
flatpak run com.visualstudio.code

Step 3: Checking the installation

  • Launch VS Code through the terminal:
code
  • The main IDE window should open

Step 4: Configuration for developers

  • Install necessary extensions: Python, Node.js, Git, Docker
  • Configure Git and SSH for working with repositories
  • Set up themes and shortcuts for convenience

Conclusion

After installing VS Code on Linux, you get a powerful IDE with support for extensions and integration with Git, Docker, and other development tools. Installing via the repository or Flatpak allows you to quickly set up your working environment.

FixPedia

Free encyclopedia for fixing errors. Step-by-step guides for Windows, Linux, macOS and more.

© 2026 FixPedia. All materials are available for free.

Made with for the community