Order:
TOCTitle: 如何升级 How to Update
ContentId: EB6E82F3-7A9E-4B88-998D-4A55AE477A49
PageTitle: 如何升级到最新版 How to update Visual Studio Code to the latest version
DateApproved: 4/14/2016

MetaDescription: 了解如何更新到最新版本的 VS Code - 在Mac OS X,Linux和Windows上,提升代码编辑体验。 Find out how to update to the most recent version of Visual Studio Code – an evolved Code editing experience on Mac OS X, Linux and Windows.

如何升级到最新版 How to update to the latest release

The following shows you how to update to the latest release of Visual Studio Code.

下面将向您介绍如何升级VS 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). If you’d rather control VS Code updates manually, see How do I opt out of auto-updates.

注意: 对于Mac和Windows的用户,我们已经启用了自动更新通道。如果你收到了来自 VS Code的提示,接受最新版的更新,它就会被安装(你不需要做任何其他的事情)。如果您愿意手动更新 VS Code,请参看 How do I opt out of auto-updates

Auto-updates are not supported for Linux.

自动更新不支持Linux版本。

在Linux上更新 Updating on Linux

  • 下载 VS Code的zip文件: 64-bit32-bit.
  • 打开zip文件,运行Code
  • Download the VS Code zip file: 64-bit or 32-bit.
  • Open the zip and run Code

    在 OS X 上更新 Updating on OS X

You need to do this only if auto-update did not complete.

除非自动更新没有完成,你才需要做的这些。

  • 下载 VS Code的 zip 文件.
  • 打开zip文件,拖拽CodeApplications.
  • 启动Code.
  • Download the VS Code zip file from here.
  • Open the zip file and drag Code over to Applications.
  • Launch Code.

在 Windows 上更新 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).

重要: 更新之前,关闭所有 VS Code 的运行实例

  • 此处开始安装。
  • 如果安装时遇到麻烦,请从此处下载VS Code的zip文件。
  • 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?

Q: 我怎么知道我运行哪个版本?

A: In Linux and Windows, choose Help, About. In OS X, use Code, About Visual Studio Code.

A: 对于Linux和Windows, 选择 帮助, 关于. 对于 OS X, 使用 Code, About Visual Studio Code.

Q: What are the supported operating system versions needed to run Visual Studio Code?

Q: VS Code 支持 哪些操作系统版本?

A: See Requirements for the supported OS versions.

A: 对于所支持的操作系统,参考 Requirements