Update 更新WebStorm
By default, WebStorm is configured to check for updates automatically and notify you when a new version is available. 默认情况下,WebStorm配置为自动检查更新,并在新版本可用时通知您。Updates are usually patch-based: they are applied to the existing installation and only require you to restart the IDE. 更新通常基于补丁:它们应用于现有安装,只需要重新启动IDE。However, sometimes patch updates are not available, and a new version of WebStorm must be installed.但是,有时补丁更新不可用,必须安装新版本的WebStorm。
When WebStorm updates to a new major release, it opens the What's New in WebStorm tab in the editor with information about the changes, improvements, and fixes. 当WebStorm更新到新的主要版本时,它会在编辑器中打开“WebStorm中的新增内容”选项卡,其中包含有关更改、改进和修复的信息。To open this tab manually, select 要手动打开此选项卡,请选择 . 。
If WebStorm does not have HTTP access outside your local network, it will not be able to check for updates and apply patches. 如果WebStorm在您的本地网络之外没有HTTP访问权限,它将无法检查更新并应用修补程序。In this case, you have to download new versions of the IDE and install them manually as described in Standalone installation.在这种情况下,您必须下载IDE的新版本,并按照独立安装中的说明手动安装它们。
Toolbox App工具箱应用程序
If you installed WebStorm using the Toolbox App, it will suggest you to update the IDE when a new version is available.如果您使用工具箱应用程序安装WebStorm,它将建议您在新版本可用时更新IDE。
Automatically update all managed tools自动更新所有托管工具
-
Open the Toolbox App and click打开工具箱应用程序并单击右上角的in the top right corner.
。
-
In the Toolbox App Settings dialog, expand Tools and select Update all tools automatically.在“工具箱应用程序设置”对话框中,展开“工具”,然后选择“自动更新所有工具”。
If you disable this option, you will need to click Update next to any instance when a newer version comes out.如果禁用此选项,则在出现新版本时,需要单击任何实例旁边的更新。
You can also configure the update policy for every managed IDE instance separately.您还可以分别为每个托管IDE实例配置更新策略。
Configure the update policy for a specific instance为特定实例配置更新策略
-
Open the Toolbox App, click打开工具箱应用程序,单击相关IDE实例旁边的next to the relevant IDE instance, and select Settings.
,然后选择设置。
-
In the instance settings dialog, expand Updates.在“实例设置”对话框中,展开“更新”。 -
If necessary, select to keep using the current major version to make sure that the Toolbox App does not update the current IDE instance to a newer major version when it comes out.如有必要,请选择“继续使用当前主版本”,以确保工具箱应用程序在出现时不会将当前IDE实例更新为较新的主版本。 -
If you did not choose to automatically update all tools, you can select to automatically update this particular IDE instance.如果未选择自动更新所有工具,则可以选择自动更新此特定IDE实例。 -
Select the update channel to use for this IDE instance:选择要用于此IDE实例的更新通道:-
Update to Release: Update only to stable releases that are recommended for production.更新到版本:仅更新到推荐用于生产的稳定版本。 -
To Release and Early Access Program发布和提前访问程序: Includes updates to beta releases, release candidates, and EAP builds, which are not recommended for production and include feature previews.:包括beta版本、候选版本和EAP版本的更新,不建议用于生产,并包括功能预览。
-
Standalone instance独立实例
If you installed WebStorm manually, the standalone IDE instance will manage its own updates. 如果手动安装WebStorm,独立IDE实例将管理自己的更新。It will notify you when a new version is available. 当新版本可用时,它将通知您。You can choose to update the current instance, download and install the new version as a separate instance, postpone the notification, or ignore the update entirely.您可以选择更新当前实例、作为单独实例下载并安装新版本、推迟通知或完全忽略更新。
Configure the update policy配置更新策略
To manage the WebStorm update policy, open Settings/Preferences Ctrl+Alt+S and select .要管理WebStorm更新策略,请打开设置/首选项 Ctrl+Alt+S 并选择“外观和行为”|“系统设置”|“更新”。
The Updates page contains the following settings:“更新”页面包含以下设置:
| |
| |
| |
| |
Snap packagesnap照包
If you installed WebStorm as a snap package, it will manage updates automatically. 如果您将WebStorm作为snap软件包安装,它将自动管理更新。All snaps are updated automatically in the background every day. 所有snap每天都会在后台自动更新。You can also get the latest version of all snaps manually at any time by running the following command:还可以通过运行以下命令,随时手动获取所有快照的最新版本:
Or if you want to update only the WebStorm snap:或者,如果只想更新WebStorm snap: