164

I am experiencing a problem with debugging in vscode just after the last update. There's something going on (https://github.com/Microsoft/vscode/issues/45657)

I'd like to check the previous version to see if my case is a problem here or in vscode but I can not find instructions on how to downgrade (I suppose it's possible)

tru7
  • 6,348
  • 5
  • 35
  • 59
  • 1
    Download older versions from here? https://code.visualstudio.com/updates/v1_20 You can go back as far as April 2016 release. – Rosdi Kasim Mar 18 '18 at 10:31

3 Answers3

219

Previous versions of Visual Studio Code can be downloaded here:

https://code.visualstudio.com/updates/

Pick the version you want from the list on the left, and then click on the download link for your OS as shown here:

enter image description here

You should disable auto update (as mentioned by Gregory in the comment) to prevent it from auto updating itself later upon restart. To do this, go to Preferences, Settings and then search for 'update'. Set it to 'none' as shown below:

Disable auto update

Rosdi Kasim
  • 24,267
  • 23
  • 130
  • 154
  • 22
    For anyone wanting a specific minor version, right click the download link, and select 'open in new tab'. Cancel the download and edit the version number in the url. Ex: the latest is 1.30.2, but I needed 1.30.1, https://update.code.visualstudio.com/1.30.1/win32-x64-user/stable – Lightfire228 Jan 15 '19 at 17:49
  • 12
    Don't forget to disable auto-update or else your previous version will be replaced with the current one as soon as you restart! – Gregory Cosmo Haun Mar 13 '19 at 18:58
  • 6
    Do I need to uninstall current version before reinstalling? Also, will my extensions and preferences be deleted? – cbdeveloper Apr 10 '19 at 15:55
  • 6
    @cbdev420 No - you don't have to uninstall current version. Your extensions and preferences will be preserved. As with all software it is advised to make a backup though. Extension like "Settings Sync" is very helpful to not only have the copy of your settings but also to sync it between multiple devices: https://marketplace.visualstudio.com/itemdetails?itemName=Shan.code-settings-sync – Grzegorz Widła Apr 11 '19 at 14:30
  • 1
    Is there a way to have multiple VSCode versions on one system? Ideally I don't want to have to install them. – Qwerty Nov 20 '19 at 09:19
  • This did not work on Ubuntu 16.04 (using the deb package) even after disabling auto update. To make it work, I had to first uninstall the current version [using this method](https://askubuntu.com/a/771883/638128) and then reinstall. – Stack Underflow Feb 09 '21 at 23:13
  • 1
    As of July 2022, for Windows there are now separate "User" and "System" downloads. To figure out which you have currently installed go to Help -> About. Will show something like `Version: 1.68.1 (user setup)` – leopold.talirz Jul 14 '22 at 07:58
  • I'm using Chocolatey. Can I uninstall the current version of vscode via choco and install an older version without messing up my local environments/settings? Or is there a better way to proceed? Does anybody know? – myke Mar 13 '23 at 08:20
  • OP was asking for the "Install Another Version..." menu option not some, obvious, laborious, workaround. It seems Microsoft only bothered to include that button for the small extensions, not the huge majority of the code. – user3710044 May 11 '23 at 09:36
6

Visual studio docs now have a section documenting all Url endpoints for downloading platform and archive specific downloads.

For ex. for Windows 64 bit zip the download endpoint is : https://update.code.visualstudio.com/{version}/win32-x64-archive/stable

enter image description here

drac_o
  • 427
  • 5
  • 11
1

https://code.visualstudio.com/updates/ site is only Windows Installer.
If you want to download Zip Executable, you can download like this url pattern.

# <download version> is like 1.44.0
https://vscode-update.azurewebsites.net/<download version>/win32-x64-archive/stable

reference is this site. https://github.com/Microsoft/vscode/issues/60933

And I try to download another site, and success to download. this site is linked in https://code.visualstudio.com/updates/

https://update.code.visualstudio.com/<download version>/win32-x64-archive/stable
S.Hashiba
  • 615
  • 7
  • 15