Check your VS Code version and Update to the Latest release

avatar
Borislav Hadzhiev

Last updated: Mar 5, 2023
4 min

banner

# Table of Contents

  1. Checking your VS Code version
  2. Checking your VS Code version with the command line
  3. Updating Visual Studio Code to the latest version

# Checking your VS Code version

To check your VS Code version:

  1. On Windows and Linux: press Alt to show the top menu and select Help and then About.

  2. On macOS, click on Code and then click on About Visual Studio Code.

Code is the leftmost top menu on macOS.

click help about

Note that you might have to press Alt on Windows and Linux to show the top menu.

Once you click on About or About Visual Studio Code, the version is shown.

show visual studio code version

The Visual Studio code version is displayed in the 'major.minor.release' format, e.g. 1.76.0.

Where:

  • 1 is the major version
  • 76 is the minor version
  • 0 is the release version

Here is a short clip that demonstrates the process on Windows and Linux.

show vs code version

If you are on macOS, make sure to click on Code and then About Visual Studio Code version in the top menu.

# Checking your VS Code version with the command line

You can also use the code --version command to check your VS Code version using the command line.

On Windows, start CMD (Command Prompt), on macOS and Linux, start bash or zsh and issue the following command.

shell
code --version

get vscode version command line

You can also use the code -v alias.

shell
code -v

code v alias

The command prints 3 things:

  1. Your VS Code version, formatted as 'major.minor.release'.
  2. The GitHub commit ID.
  3. The architecture (e.g. x64).

# Updating Visual Studio Code to the latest version

VS Code releases a new version with bug fixes and new features every month.

You are usually prompted to update your VS Code version directly in the editor.

However, you can also manually check for updates:

  1. On Windows and Linux: press Alt to show the top menu and click on Help and then Check for updates.

  2. On macOS: click on Code in the top menu and then click on Check for Updates.

click help check for updates

Note that you might have to press Alt to show the top menu on Windows and Linux.

Here is a short click that demonstrates the process.

click help check for updates

Make sure to click on Code and then Check for Updates if you're on macOS.

# A note on Linux

If you are on Linux, automatic updates might not be supported. In this case, you can:

  1. Download the VS Code zip file: 64-bit or 32-bit.

  2. Extract the zip, open the contents of the folder and run the code application.

On Ubuntu, you can also:

  1. Search for the Ubuntu Software application and start it.
  2. Click on Updates in the top menu.
  3. Click on the refresh button and check if there is a VS Code update available.

Note that all instances of VS Code must be closed for you to be able to update it.

# If you can't see the Check for Updates option or it doesn't work

If you can't see the Check for Updates option or you aren't able to update VS Code to the latest version:

  1. Press Ctrl + Shift + P (or Command + Shift + P on macOS).
Note: you can also press F1 to open the Command Palette.
  1. Type user settings and select Preferences: Open User Settings.

open user settings

You can also open the settings screen by pressing Ctrl + , on Windows and Linux or Cmd + , on macOS.

  1. Type update mode and make sure the Update: Mode setting is not set to none.

make sure update mode is not none

When Update: Mode is set to none, then updates are disabled.

When it is set to default, automatic update checks are enabled.

# Manually updating on macOS

If the auto-update feature doesn't work for you on macOS:

  1. Close all running instances of VS Code.

  2. Download the VS Code zip file.

  3. Open the zip file and drag Code over to Applications.

  4. Launch Code.

# Manually updating on Windows

If the auto-update feature doesn't work for you on Windows:

  1. Close all running instances of VS Code.
  2. Run the official VS Code installer.
  3. If you aren't able to run the installer, download the VS Code zip file.

# Additional Resources

You can learn more about the related topics by checking out the following tutorials:

I wrote a book in which I share everything I know about how to become a better, more efficient programmer.
book cover
You can use the search field on my Home Page to filter through all of my articles.