Skip to main content

Visual Studio Code

info

Visual Studio Code must be launched from the command line as follows:

code --no-sandbox

Visual Studio Code on Local Desktop

You can install it from the AUR. See How to install applications? for instructions.

Compatibility note

  • VS Code won't launch from the XFCE Application launcher, you have to launch it from the terminal with an additional flag --no-sandbox. It is an issue that persists with Termux + proot-distro.

  • Launching as a root user requires the --user-data-dir flag. Why?

However, it is recommended to use a non-root user for running Visual Studio Code. See Creating a Non-root User for instructions.