【 introduction 】

The SDKMGR is a HarmonyOS SDK management tool that allows you to view, download, and uninstall the HarmonyOS SDK using commands. The SDKMGR supports automated build script calls and is recommended for pipeline-building packages.

“Advantages”

SDKMGR has two advantages over DevEco Studio’s graphical interface for downloading the HarmonyOS SDK:

Advantage 1: It can be used without a GRAPHICAL interface. For example, many Linux servers do not have a graphical interface, so SDK management is generally not possible through DevEco Studio, while SDKMGR can be used under a variety of systems.

Advantage 2: By using SDKMGR, developers can automate build scripts and generate HAP packets automatically on the pipeline instead of manually generating them.

[use]

The SDKMGR directive, named SDKMGR, allows you to view, install, update, and uninstall multiple HarmonyOS SDK components by entering commands.

The detailed operation steps of SDKMGR are as follows:

① On the HarmonyOS app Development website, obtain the SDKMGR installation package and decompress it.

② After decompressing, open the cli terminal tools, such as Cmd and Powershell, and go to the bin directory of SDKMGR.

3. If the network is normal, run the following commands: view, install, update, and uninstall.

The following table shows the examples and application scenarios of the COMMANDS for viewing, installing, updating, and uninstalling SDK components:

“The end”

Since its launch, DevEco Studio has always put the development experience of developers first, and provided convenient development tools again and again to serve every one of you. In the future, we will continue to update the Command Line Tools to bring you more efficient development experience. Please click here to obtain the download address of SDKMGR Command Line Tools. Grow with us hand in hand, step into the new era of everything connected!