

You can install it by running: sudo snap install -classic code # or code-insiders Visual Studio Code is officially distributed as a Snap package in the Snap Store: Or on older versions using yum: yum check-update sudo yum install codeĭue to the manual signing process and the system we use to publish, the yum repo may lag behind and not get the latest version of VS Code immediately.

Then update the package cache and install the package using dnf (Fedora 22 and above): dnf check-update sudo dnf install code We currently ship the stable 64-bit VS Code in a yum repository, the following script will install the key and repository: sudo rpm -import sudo sh -c 'echo -e "\nname=Visual Studio Code\nbaseurl=\nenabled=1\ngpgcheck=1\ngpgkey=" > /etc//vscode.repo' Then update the package cache and install the package using: sudo apt install apt-transport-https sudo apt update sudo apt install code # or code-insiders RHEL, Fedora, and CentOS based distributions Alternatively, the repository and key can also be installed manually with the following script: sudo apt-get install wget gpg wget -qO- | gpg -dearmor > sudo install -D -o root -g root -m 644 /etc/apt/keyrings/ sudo sh -c 'echo "deb stable main" > /etc/apt//vscode.list' rm -f deb package will automatically install the apt repository and signing key to enable auto-updating using the system's package manager. Note that other binaries are also available on the VS Code download page. deb # sudo apt-get install -f # Install dependencies deb # If you're on an older Linux distribution, you will need to run this instead: # sudo dpkg -i. deb package (64-bit), either through the graphical software center if it's available, or through the command line with: sudo apt install. The easiest way to install Visual Studio Code for Debian/Ubuntu based distributions is to download and install the.

See the Download Visual Studio Code page for a complete list of available installation options.īy downloading and using Visual Studio Code, you agree to the license terms and privacy statement.
