How to install Visual Studio Code
on CentOS

Visual Studio Code snap

Visual Studio Code

Visual Studio Code (vscode) Verified account
  • Visual Studio Code (vscode) Verified account
  • Development

Code editing. Redefined.

Visual Studio Code is a lightweight but powerful source code editor which runs on your desktop and is available for Linux, macOS and Windows. It comes with built-in support for JavaScript, TypeScript and Node.js and has a rich ecosystem of extensions for other languages (such as C++, C#, Java, Python, PHP, Go) and runtimes (such as .NET and Unity).

By downloading and using Visual Studio Code, you agree to the license terms (https://code.visualstudio.com/License/) and privacy statement (https://privacy.microsoft.com/en-us/privacystatement). Visual Studio Code automatically sends telemetry data and crash dumps to help us improve the product. If you would prefer not to have this data sent please go see https://code.visualstudio.com/docs/supporting/FAQ#_how-to-disable-crash-reporting to learn how to disable it.

VSCode https://github.com/Microsoft/vscode

Details for Visual Studio Code

License
Proprietary
Last updated
11 September 2019

Enable snaps on CentOS and install Visual Studio Code

Snaps are applications packaged with all their dependencies to run on all popular Linux distributions from a single build. They update automatically and roll back gracefully.

Snaps are discoverable and installable from the Snap Store, an app store with an audience of millions.

Enable snapd

Snap is available for CentOS 7.6+, and Red Hat Enterprise Linux 7.6+, from the Extra Packages for Enterprise Linux (EPEL) repository. The EPEL repository can be added to your system with the following command:

Snap can now be installed as follows:

Once installed, the systemd unit that manages the main snap communication socket needs to be enabled:

To enable classic snap support, enter the following to create a symbolic link between /var/lib/snapd/snap and /snap:

Either log out and back in again, or restart your system, to ensure snap’s paths are updated correctly.

Install Visual Studio Code

To install Visual Studio Code, simply use the following command:

Other popular snaps…

See more...
See more in Featured

More things to do…

Get the snap store

Browse and find snaps from the convenience of your desktop using the snap store snap.

Learn more about snaps

Interested to find out more about snaps? Want to publish your own application? Visit snapcraft.io now.