alibabacloud-livedebug

Installation
SKILL.md

Live-Debug Runtime Diagnostics

Product scope: This skill builds and manages Live-Debug ServiceTask diagnostics on Alibaba Cloud CMS (aliyun cms2 apm service-task) and queries capture results via SLS. It does not onboard APM/agents and is not a general CloudMonitor (CMS) management skill.

Prerequisite Check

  1. Check aliyun exists - which aliyun (macOS/Linux) or where aliyun (Windows).
  • Not found -> guide the user through Aliyun CLI Installation below. After installation, re-check aliyun version before continuing.
  1. Check CLI version - run aliyun version. Minimum required: 3.3.15 (see compatibility in frontmatter).

Compare version segments as integers (semver): 3.3.4 < 3.3.15 because 4 < 15. Version 3.3.15 itself meets the minimum requirement.

  • Version OK -> go to step 3.
  • Version too old or unrecognized ->
  1. For Homebrew installations, run brew update and then brew upgrade aliyun-cli, then re-check aliyun version. For other installations, run aliyun upgrade --help to test whether the upgrade subcommand exists.
  • Available -> run aliyun upgrade -y, then re-check aliyun version.
  • Not available (or the upgrade fails) -> guide the user to reinstall from Aliyun CLI Installation or follow the official installation/update guide. Do NOT pipe remote install scripts directly into a shell interpreter - download the installer, inspect it, then run it deliberately, or use the OS package manager. Stop and wait if installation remains unresolved.
  1. If the upgrade succeeded -> go to step 3.
Installs
14
GitHub Stars
303
First Seen
Aug 6, 2026