I have VS Code version 1.37.1 and I want to update to the current available version 1.43. My OS is Windows 10.
How can I update the current version to the latest?. Like in Eclipse, check for updates is not updating the installation, rather it gives me a zip.
Gino Mempin
25.8k29 gold badges98 silver badges138 bronze badges
asked Mar 23, 2020 at 3:20
1
Running this from the command prompt seemed to work for me:
winget upgrade --id Microsoft.VisualStudioCode
I think because I was running vscode as administrator I did not see the Help->Check for updates menu item.
answered Sep 9, 2022 at 19:06
DerekDerek
7,6855 gold badges33 silver badges58 bronze badges
3
VS Code will automatically update itself on windows 10. If you’d like to force an update check there’s an option available for that under ‘Help > Check for Updates’.
If the update still doesn’t complete, you can run the installer from here as described in the official Visual Studio Code Documentation under Docs » Supporting » Howtoupdate, found here.
answered Mar 23, 2020 at 3:42
FehrFehr
4764 silver badges5 bronze badges
5
If Update:Mode in VS Code’s setting is on ‘none’ , ‘Check for Updates …’ option will disappear from Help. Just be sure it’s not on ‘none’ then you can check for updates.
answered Nov 14, 2021 at 22:15
c30netc30net
3012 silver badges5 bronze badges
1
2021-12-15, if you don’t see Check for Updates...
then Settings
Make sure it’s not none
Then Help, Check for updates…, it won’t auto-install. Once it downloads the update, either Help, Install update, or
answered Dec 15, 2021 at 19:26
Jeb50Jeb50
6,3626 gold badges50 silver badges88 bronze badges
My problem was that I had VS Code open as Administrator. After closing it and opening it normally I got the update to appear once again under the settings icon and in the Help menu.
If you cannot do that you can trigger the update with this command written in the terminal:
winget upgrade --id Microsoft.VisualStudioCode
answered Jan 22 at 0:04
IdreesIdrees
7111 gold badge7 silver badges31 bronze badges
3
Normally you don’t need to do anything. The default configuration auto-updates and tells you it needs a restart.
If you experience different behaviour then either someone has interfered with settings in VS Code or the platform (Win/Lin/Osx) is misconfigured.
Type Ctrl+, or your platform equivalent and then filter for «update», then inspect your settings to see what may be mucked up. You can also force an update in the Help menu, and if this results in the download of a zip file it’s not VS Code that’s messed up, it’s your platform.
answered Mar 23, 2020 at 3:42
Peter WonePeter Wone
18k12 gold badges83 silver badges134 bronze badges
1
If your update settings are OK, then there is one other possibility. Normally, you would have installed this huge piece of bloatware for your own user account only, using the «VSCodeUserSetup-.exe» installer.
But there is also a «system installer» which installs VSCode into «C:\Program Files» (configuration is still kept per-user). If you installed «VSCodeSetup-.exe» (note: no «User» in the installer file name), then you have an administrative install and will not get full auto-updates, AFAIK.
answered Feb 24, 2022 at 8:18
Thank you Felix, downloading the System installer solved my issue. Now I can check for updates in VS Code as Windows 11 in Administrator mode.
https://code.visualstudio.com/updates/
My problem was that running VS Code with elevated permissions was not automatically updating and there was no option to Update in the Command Palette, Help, or System menus.
Auto-update was set to default
in VS Code settings (tried them all) but I couldn’t see updates ‘until I reinstalling using System installer instead of User installer.
answered Jul 14 at 22:16
My problem was with a later version, where update options did not appear under the Help menu. This may be because I ran a user install on a Win 2022 VM where I am Administrator user.
The above solutions did not work but I was able to resolve by running the latest user installer over the existing install (turns out the user install of VS Code does not appear in Control Panel, Uninstall program listing.) Currently this can be downloaded from https://code.visualstudio.com/.
answered Nov 29, 2022 at 0:15
For VS Code Insiders, the following works.
winget upgrade --id Microsoft.VisualStudioCode.Insiders
Fedor
17.3k15 gold badges41 silver badges133 bronze badges
answered Aug 28 at 5:41
I have VS Code version 1.37.1 and I want to update to the current available version 1.43. My OS is Windows 10.
How can I update the current version to the latest?. Like in Eclipse, check for updates is not updating the installation, rather it gives me a zip.
Gino Mempin
25.8k29 gold badges98 silver badges138 bronze badges
asked Mar 23, 2020 at 3:20
1
Running this from the command prompt seemed to work for me:
winget upgrade --id Microsoft.VisualStudioCode
I think because I was running vscode as administrator I did not see the Help->Check for updates menu item.
answered Sep 9, 2022 at 19:06
DerekDerek
7,6855 gold badges33 silver badges58 bronze badges
3
VS Code will automatically update itself on windows 10. If you’d like to force an update check there’s an option available for that under ‘Help > Check for Updates’.
If the update still doesn’t complete, you can run the installer from here as described in the official Visual Studio Code Documentation under Docs » Supporting » Howtoupdate, found here.
answered Mar 23, 2020 at 3:42
FehrFehr
4764 silver badges5 bronze badges
5
If Update:Mode in VS Code’s setting is on ‘none’ , ‘Check for Updates …’ option will disappear from Help. Just be sure it’s not on ‘none’ then you can check for updates.
answered Nov 14, 2021 at 22:15
c30netc30net
3012 silver badges5 bronze badges
1
2021-12-15, if you don’t see Check for Updates...
then Settings
Make sure it’s not none
Then Help, Check for updates…, it won’t auto-install. Once it downloads the update, either Help, Install update, or
answered Dec 15, 2021 at 19:26
Jeb50Jeb50
6,3626 gold badges50 silver badges88 bronze badges
My problem was that I had VS Code open as Administrator. After closing it and opening it normally I got the update to appear once again under the settings icon and in the Help menu.
If you cannot do that you can trigger the update with this command written in the terminal:
winget upgrade --id Microsoft.VisualStudioCode
answered Jan 22 at 0:04
IdreesIdrees
7111 gold badge7 silver badges31 bronze badges
3
Normally you don’t need to do anything. The default configuration auto-updates and tells you it needs a restart.
If you experience different behaviour then either someone has interfered with settings in VS Code or the platform (Win/Lin/Osx) is misconfigured.
Type Ctrl+, or your platform equivalent and then filter for «update», then inspect your settings to see what may be mucked up. You can also force an update in the Help menu, and if this results in the download of a zip file it’s not VS Code that’s messed up, it’s your platform.
answered Mar 23, 2020 at 3:42
Peter WonePeter Wone
18k12 gold badges83 silver badges134 bronze badges
1
If your update settings are OK, then there is one other possibility. Normally, you would have installed this huge piece of bloatware for your own user account only, using the «VSCodeUserSetup-.exe» installer.
But there is also a «system installer» which installs VSCode into «C:\Program Files» (configuration is still kept per-user). If you installed «VSCodeSetup-.exe» (note: no «User» in the installer file name), then you have an administrative install and will not get full auto-updates, AFAIK.
answered Feb 24, 2022 at 8:18
Thank you Felix, downloading the System installer solved my issue. Now I can check for updates in VS Code as Windows 11 in Administrator mode.
https://code.visualstudio.com/updates/
My problem was that running VS Code with elevated permissions was not automatically updating and there was no option to Update in the Command Palette, Help, or System menus.
Auto-update was set to default
in VS Code settings (tried them all) but I couldn’t see updates ‘until I reinstalling using System installer instead of User installer.
answered Jul 14 at 22:16
My problem was with a later version, where update options did not appear under the Help menu. This may be because I ran a user install on a Win 2022 VM where I am Administrator user.
The above solutions did not work but I was able to resolve by running the latest user installer over the existing install (turns out the user install of VS Code does not appear in Control Panel, Uninstall program listing.) Currently this can be downloaded from https://code.visualstudio.com/.
answered Nov 29, 2022 at 0:15
For VS Code Insiders, the following works.
winget upgrade --id Microsoft.VisualStudioCode.Insiders
Fedor
17.3k15 gold badges41 silver badges133 bronze badges
answered Aug 28 at 5:41
How to update to the latest release
The following shows you how to update to the latest release of Visual Studio Code.
Note: For Mac and Windows users, we have enabled the auto-update channel. If you’re prompted by VS Code, accept the newest update and it will get installed (you won’t need to do anything else to get the latest bits).
Auto-updates are not supported for Linux.
Updating on Linux
- Download the VS Code zip file: 64-bit or 32-bit.
- Open the zip and run Code
Updating on OS X
You need to do this only if auto-update did not complete.
- Download the VS Code zip file from here.
- Open the zip file and drag Code over to Applications.
- Launch Code.
Updating on Windows
You need to do this only if auto-update did not complete.
Important: Close any running instances of VS Code before attempting to update (to avoid VS Code not being able to start after you update).
- Run the installer from here.
- If you have trouble with the Windows installer, download the VS Code zip file from here.
Common Questions
Q: How do I know which version I’m running?
A: In Linux and Windows, choose Help, About. In OS X, use Code, About Visual Studio Code.
Q: What are the supported operating system versions needed to run Visual Studio Code?
A: See Requirements for the supported OS versions.
This guide shows how to update Visual Studio Code to the latest release. We’ll intentionally use an older version of VS Code (1.63.2) for this tutorial.
How to check for a new update
By default, Visual Studio Code automatically checks for new updates. If you would like to perform a manual check for a new update, follow these steps:
- Launch VS Code. From the “Help” menu, select Check for Updates…
Select Check For Updates from the “Help” section. - If you have the latest version, it will notify you that no updates are available.
You will be prompted with this message if you’re running the latest version.
How to manually force an update
If your update does not automatically complete, you can force an update. Forcing an update requires installing the software again without uninstalling the existing software. Follow these steps:
- First, download the latest version of VS Code for your operating system from code.visualstudio.com.
Download the latest version of VS code from code.visualstudio.com. - Finally, run the installer with default configurations.
- After the installation, you will see the Release Notes in Visual Studio Code. Notice we have successfully installed the latest version.
Visual Studio Code is updated to the latest release.
Using these methods, you can easily keep up with the latest releases of VS Code. You may also want to change your update settings according to your specific needs.
Change your VS Code update settings
There are four different update modes available in Visual Studio Code. Follow these steps to find and change your update configuration:
- From the “Manage” section in the sidebar, select Settings.
From the “Manage” section, click on Settings. - Search “Update Mode.” You will find the four update modes as follows:
Default – enables automatic and periodic update checks.
Manual – disables automatic background update checks and requires you to check manually.
Start – checks for updates only on startup and disables automatic background checks.
None – disables updates. - By default, Visual Studio Code is set to auto-update. If you want to opt-out of automatic updates, you can change the update mode to none.
- Changing the update mode will prompt you to restart Visual Studio Code. Select Restart.
Click on Restart to enable the change in update settings.
Check the VS Code version you’re running
Follow these steps to check the version of Visual Studio Code installed in the system:
- From the “Help” section, select About.
Select Help from the top menu, then choose About. - A message box with the version number will pop up on the screen.
A message box will appear with the version number.
Find the latest VS Code version available
Go to code.visualstudio.com/updates. You will find the latest release with the version number and some key highlights of the update.
Visual Studio Code is a popular, open-source code editor developed by Microsoft. It’s used by developers around the world for various programming tasks, such as writing and debugging code, as well as working with various programming languages and technologies. Updating Visual Studio Code is an important step to ensure that you are using the latest features and bug fixes. In this article, we will look at the steps you can take to update Visual Studio Code on a Windows computer.
Method 1: Via Visual Studio Code
Updating Visual Studio Code on Windows is a simple process that can be done via Visual Studio Code itself. Follow the steps below to update your Visual Studio Code to the latest version.
- Open Visual Studio Code.
- Click on the «View» menu in the top menu bar.
- Click on the «Command Palette» option or press «Ctrl+Shift+P».
- In the search bar, type «update» and select the «Update: Update Visual Studio Code» option.
- Visual Studio Code will then check for updates and prompt you to install the latest version if available.
- Click on the «Update» button to start the update process.
- Wait for the update to complete.
- Once the update is complete, restart Visual Studio Code to start using the latest version.
1. Open Visual Studio Code.
2. Click on the "View" menu in the top menu bar.
3. Click on the "Command Palette" option or press "Ctrl+Shift+P".
4. In the search bar, type "update" and select the "Update: Update Visual Studio Code" option.
5. Visual Studio Code will then check for updates and prompt you to install the latest version if available.
6. Click on the "Update" button to start the update process.
7. Wait for the update to complete.
8. Once the update is complete, restart Visual Studio Code to start using the latest version.
That’s it! You have successfully updated your Visual Studio Code to the latest version via Visual Studio Code itself.
Method 2: Via Installer
Updating Visual Studio Code on Windows is a simple and straightforward process. You can update it via the installer by following these steps:
-
Download the latest version of Visual Studio Code from the official website: https://code.visualstudio.com/download
-
Run the installer and follow the prompts to update Visual Studio Code.
./VSCodeUserSetup-{version}.exe
- Once the update is complete, launch Visual Studio Code and verify that the latest version is installed.
That’s it! You have successfully updated Visual Studio Code on Windows via the installer.
Method 3: Via Microsoft Store
To update Visual Studio Code via Microsoft Store on Windows, follow these steps:
- Open the Microsoft Store app on your Windows machine.
- Click on the three dots in the top right-hand corner of the app and select «Downloads and updates».
- If there is an update available for Visual Studio Code, you should see it listed here. Click the «Get updates» button to start the update process.
- Once the update is downloaded and installed, launch Visual Studio Code to start using the latest version.
1. Open Microsoft Store app.
2. Click on three dots in the top right-hand corner.
3. Select "Downloads and updates".
4. Click "Get updates" button to start update process.
5. Launch Visual Studio Code after update is installed.
That’s it! Updating Visual Studio Code via Microsoft Store is a straightforward process that ensures you always have the latest version of the software.