How to install Visual Studio Code
on openSUSE

Visual Studio Code

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
15 October 2019

Enable snaps on openSUSE 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 can be installed from the command line on openSUSE Leap 42.3, Leap 15 and Tumbleweed.

You need first add the snappy repository from the terminal. Leap 15 users, for example, can do this with the following command:

Swap out openSUSE_Leap_15.0 for either openSUSE_Leap_42.3 or openSUSE_Tumbleweed if you’re using a different version of openSUSE.

With the repository added, import its GPG key:

Finally, upgrade the package cache to include the new snappy repository:

Snap can now be installed with the following:

You then need to either reboot, logout/login or source /etc/profile to have /snap/bin added to PATH. Additionally, enable and start both the snapd and the snapd.apparmor services with the following commands:

sudo systemctl enable snapd sudo systemctl start snapd

Tumbleweed users also need to run the following:

sudo systemctl enable snapd.apparmor sudo systemctl start snapd.apparmor

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.