Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to Update Visual Studio Code Portable?

I typically update the standard version of Visual Studio Code by clicking Help => Check for Updates (or just letting it update automatically in the background), but this option is missing from the Help menu in the portable version. Furthermore, it doesn't update automatically in the background despite the fact that I haven't overridden the following default settings:

"update.channel": "default",
"update.enableWindowsBackgroundUpdates": true,

Are there any other ways to update the portable version of Visual Studio Code, or do I have to manually uninstall/reinstall it every time a major update is released?

like image 299
Alex_Bass Avatar asked May 03 '18 20:05

Alex_Bass


People also ask

How do I manually update Visual Studio Code?

You can also manually check for updates by running Help > Check for Updates on Linux and Windows or running Code > Check for Updates on macOS. Note: You can disable auto-update if you prefer to update VS Code on your own schedule.

How do I update Visual Studio Code from terminal?

If you have already installed VS code, go to the terminal and type two different commands: sudo apt update. sudo apt-get upgrade code.

Does Visual Studio Code auto-update?

By default, VS Code is set up to auto-update for macOS and Windows users when we release new updates. If you do not want to get automatic updates, you can set the Update: Mode setting from default to none .


Video Answer


1 Answers

After unzipping the VS Code download, simply create a data folder within Code's folder:

|- VSCode-win32-x64-1.25.0-insider
|   |- Code.exe (or code executable)
|   |- data
|   |- ...

The data folder can be moved to other VS Code installations. This is useful for updating your portable Code version: simply move the data folder to a newer extracted version of VS Code.

On Windows and Linux, you can update VS Code by copying the data folder over to a more recent version of VS Code.

From their docs

like image 165
frozenfrog Avatar answered Oct 17 '22 05:10

frozenfrog