跳到主要内容

安装 CLI

Overview

Combo CLI 是一个命令行工具用于与 Combo SDK 交互,主要包括生成构建所需要的配置与打包产物 (apkipa 等等)

支持的平台:

  • Linux amd64
  • Windows amd64
  • macOS amd64
  • macOS arm64 (Apple silicon)

Install

Download the latest release

Install into your local directory

将下载的 zip 解压后,运行命令 sudo install combo /usr/local/bin/

Export PATH

To export PATH, run the following command.

export PATH=$PATH:/usr/local/bin/

Future terminal sessions may require you add this path to your ~/.zshrc or ~/.bashrc file, if it isn’t there already.

Verify installation

To verify installation, run the following command.

combo version

The command returns the following output.

Combo:
Version: 0.1.1
Go version: go1.21.5
Built: 20240102
Git commit: 0eac02a352c18be1f95c7bade4fc76eaf8082757
OS/Arch: darwin/amd64

Install the binary on Windows

Select a Combo Release, decompress the zip file, and move the binary to your PATH.