
On Windows and Linux, you can update VS Code by copying the data folder over to a more recent version of VS Code. Note: On Insiders, the folder should be named code-insiders-portable-data. Make sure you remove the quarantine attribute, if Portable Mode doesn't seem to work: xattr -dr Visual \ Studio \ Code.app Portable Mode won't work if your application is in quarantine, which happens by default if you just downloaded VS Code. The default folder name is code-portable-data: |- Visual Studio Code.app Since the folder will be alongside the application, you need to name it specifically so that VS Code can find it. On macOS, you need to place the data folder as a sibling of the application itself. This is useful for updating your portable VS Code version, in which case you can move the data folder to a newer extracted version of VS Code. The data folder can be moved to other VS Code installations. Enable Portable mode Windows, LinuxĪfter unzipping the VS Code download, create a data folder within VS Code's folder: |- VSCode-win32-圆4-1.25.0-insiderįrom then on, that folder will be used to contain all VS Code data, including session state, preferences, extensions, etc. Note as well that the Windows ZIP archive does not support auto update. Portable mode is only supported on the Windows ZIP (.

Note: Do not attempt to configure portable mode on an installation from the Windows User or System installers. See the Download page to find the correct. Portable mode is supported on the ZIP download for Windows, and the TAR.GZ download for Linux, as well as the regular Application download for macOS. This mode also provides a way to set the installation folder location for VS Code extensions, useful for corporate environments that prevent extensions from being installed in the Windows AppData folder. This mode enables all data created and maintained by VS Code to live near itself, so it can be moved around across environments.

Visual Studio Code supports Portable mode. Configure IntelliSense for cross-compiling.
