• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Application Installation, Uninstall, and Update
2<!--Kit: Ability Kit-->
3<!--Subsystem: BundleManager-->
4<!--Owner: @wanghang904-->
5<!--Designer: @hanfeng6-->
6<!--Tester: @kongjing2-->
7<!--Adviser: @Brilliantry_Rui-->
8
9This topic describes application installation, uninstallation, and two update modes.
10
11## Installing or Uninstalling an Application
12You can install and uninstall applications using debug commands, for example, the [install](../tools/bm-tool.md#install) and [uninstall](../tools/bm-tool.md#uninstall) commands in the bm tool. For details, see the [compilation, release, and deployment process](./application-package-structure-stage.md#package-structure-in-the-release-phase) flowchart.
13
14**Figure 1** Process of installing and uninstalling an application (applicable to developers)
15
16![hap-intall-uninstall](figures/hap-install-uninstall-developer.png)
17
18
19After an application is released to AppGallery, users can install or uninstall the application on their devices through the AppGallery.
20
21**Figure 2** Process of installing and uninstalling an application (applicable to consumers)
22
23![hap-intall-uninstall](figures/hap-install-uninstall-user.png)
24
25## Updating an Application
26
27
28For developers, you need to first update the **versionCode** field in the [app.json5FrF configuration file](./app-configuration-file.md), package the application using DevEco Studio, and release it on AppGallery. For users, you can update the application in either of the following ways after a new version is released:
29
30- On AppGallery: AppGallery notifies the user of an available update, and the user can install the update by following the on-screen instructions.
31- In the application: <!--RP1-->When the application for which an update is available starts up, it notifies the user of the update, and the user can install the update by following the on-screen instructions.<!--RP1End-->
32