As the command-line interface (CLI) of Web App Service (Web+), wpctl is a client on which you can run commands to create, configure, and manage Web+ applications and deployment environments. You can use wpctl to replace the Web+ console for development and testing.

Install wpctl in Linux

Install wpctl

Run the following command:

eval "$(curl -s -L https://webplus-cn-shenzhen.oss-cn-shenzhen.aliyuncs.com/cli/install.sh)"

Upgrade the CLI

If the CLI version you are using is earlier than the earliest version compatible with wpctl, the system displays the message The CLI version is too old. Please upgrade the CLI when running wpctl. Run the wpctl upgrade command to upgrade the CLI.

Uninstall wpctl

Run the rm /usr/local/bin/wpctl command.

Install wpctl in macOS

Install wpctl

Run the following command:

eval "$(curl -s -L https://webplus-cn-shenzhen.oss-cn-shenzhen.aliyuncs.com/cli/install.sh)"

Upgrade the CLI

If the CLI version you are using is earlier than the earliest version compatible with wpctl, the system displays the message The CLI version is too old. Please upgrade the CLI when running wpctl. Run the wpctl upgrade command to upgrade the CLI.

Uninstall wpctl

Run the rm /usr/local/bin/wpctl command.

If the CLI version you are using is earlier than the earliest version compatible with wpctl, the system displays the message The CLI version is too old. Please upgrade the CLI when running wpctl. Run the wpctl upgrade command to upgrade the CLI.