Automic VaultAutomic Vault

brew

使用 Homebrew, Nix, pacman, zypper, winget, scoop 安装 aliyun-cli

查看 aliyun-cli 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

代理安全

代理安全回答

aliyun-cli controls Alibaba Cloud resources from local credentials.

凭据访问

Reads Alibaba Cloud access keys, profiles, and environment credentials.

远程变更

Can create, delete, and modify cloud resources.

发布/制品风险

Can deploy infrastructure and upload artifacts to cloud services.

推荐控制

Gate mutating aliyun commands and credential access.

代理使用指南

Allow read-only listing; require approval for writes, deletes, and deploys.

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install aliyun-cli

local Homebrew formula metadata

Linux

Nix已验证 · 92%
nix profile install nixpkgs#aliyun-cli

nixpkgs package indexes · pkgs/by-name/al/aliyun-cli/package.nix · 来源: api.github.com

Arch Linux pacman已验证 · 92%
sudo pacman -S aliyun-cli

Arch Linux sync databases · aliyun-cli · 来源: geo.mirror.pkgbuild.com

openSUSE zypper已验证 · 92%
sudo zypper install aliyun-cli

openSUSE Tumbleweed package metadata · aliyun-cli · 来源: download.opensuse.org

Windows

Windows Package Manager已验证 · 92%
winget install --id Alibaba.AlibabaCloudCLI -e

Windows Package Manager source index · Alibaba.AlibabaCloudCLI · 来源: cdn.winget.microsoft.com

Scoop已验证 · 92%
scoop install main/aliyun

Scoop official bucket manifest trees · bucket/aliyun.json · 来源: api.github.com

概览

软件包摘要

Universal Command-Line Interface for Alibaba Cloud

命令和别名

  • aliyun

历史

项目历史与用法

Alibaba Cloud CLI is Alibaba Cloud's open-source command-line interface for managing Alibaba Cloud resources through OpenAPI.

项目历史

The public repository begins in git history on 2015-06-30. The current README describes the CLI as a Go tool built on top of Alibaba Cloud OpenAPI and distributed through GitHub releases, platform installers, a one-line installer, and package managers.

The changelog records a v0.1 entry dated 2018-01-11 with a Go refactoring, basic configuration, and automatic endpoint location. Later pre-v3 entries added richer configuration commands, authentication modes, completion, paging, ossutil integration, and v3.0.0 GA refactoring.

采用历史

The README explicitly supports trying the CLI in Alibaba Cloud Shell before local installation, which gives it both a hosted-cloud and local-terminal path. It documents Homebrew installation, direct downloads for macOS, Linux, and Windows, and links to GitHub releases.

The input package-manager facts show broad downstream packaging: Homebrew, Nix, pacman, Scoop, winget, and zypper.

使用方式

Users normally start with aliyun configure, which writes profile data including credentials, region, output format, and language. The README documents authentication modes including AK, RAM role ARN, ECS RAM role, OIDC, external credential process, CredentialsURI, chainable RAM role ARN, and CloudSSO.

Once configured, the aliyun executable invokes Alibaba Cloud OpenAPI actions and product commands from the terminal, with troubleshooting support tied to RequestID or error messages.

为什么软件包爱好者会关心

aliyun-cli is the canonical terminal entry point for Alibaba Cloud automation. For package maintainers, it is a multi-platform cloud CLI with real credential storage, release assets, shell completion, and frequent cloud-service surface changes.

时间线

  • 2015: Public Git history begins.
  • 2018: Changelog records v0.1 with Go refactoring and basic configuration.
  • 2018: v3.0.1 tag exists in repository history.
  • 2026: v3.4.2 tag appears in repository history.

Related projects

  • Alibaba Cloud OpenAPI: service interface layer used by the CLI.
  • ossutil: object-storage toolset integrated according to the changelog.

来源

  • Git history from https://github.com/aliyun/aliyun-cli.git
  • Official README: https://raw.githubusercontent.com/aliyun/aliyun-cli/master/README.md
  • Official changelog: https://raw.githubusercontent.com/aliyun/aliyun-cli/master/CHANGELOG.md
  • source_facts.package-manager

安全态势

风险级别:orange

infrastructure mutation or orchestration signal.

风险分类器

orange 风险 · 中 置信度 · infrastructure

原因

  • infrastructure mutation or orchestration signal

信号

  • text:cloud

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 构建元数据列出 1 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

local files

Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.

Configuration files

Config paths the tool may read or write during local use.

Unix
~/.aliyun/config.json

Credential files

Credential-bearing paths to review before unattended agent runs.

Unix
~/.aliyun/config.json

可执行文件

已安装的可执行文件

命令类型暴露范围备注
aliyuncli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-25
管理器版本3.4.10
管理器更新时间2026-07-24
本地数据OK
上游当前
检测到的最新版本v3.4.10

https://github.com/aliyun/aliyun-cli

  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:aliyun-cli
版本3.4.10
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/aliyun-cli
主页https://github.com/aliyun/aliyun-cli
仓库https://github.com/aliyun/aliyun-cli
上游文档https://github.com/aliyun/aliyun-cli
许可证Apache-2.0
源码归档https://github.com/aliyun/aliyun-cli/archive/refs/tags/v3.4.10.tar.gz
最后更新2026-07-24T10:04:58Z
Pulseupdated
构建依赖go
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namealiyun-cli
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Nix95%

aliyun-cli

nix profile install nixpkgs#aliyun-cli
  • normalized package name match
  • 匹配方式:Aliyun Cli
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/al/aliyun-cli/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
pacman95%

aliyun-cli 3.3.22-1

Alibaba Cloud CLI

https://github.com/aliyun/aliyun-cli

sudo pacman -S aliyun-cli
  • License: Apache-2.0
  • Architecture: x86_64
  • 1 依赖
  • normalized package name match
  • 匹配方式:Aliyun Cli
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: aliyun-cli from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

aliyun-cli 3.3.22-1.1

Alibaba Cloud CLI

https://github.com/aliyun/aliyun-cli

sudo zypper install aliyun-cli
  • License: Apache-2.0
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: aliyun-cli
  • 1 提供
  • normalized package name match
  • 匹配方式:Aliyun Cli
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: aliyun-cli from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
winget95%

Alibaba.AlibabaCloudCLI

winget install --id Alibaba.AlibabaCloudCLI -e
  • normalized package name match
  • 匹配方式:Aliyun Cli
Windows Package Manager source index · cdn.winget.microsoft.com · Windows Package Manager source index: Alibaba.AlibabaCloudCLI from https://cdn.winget.microsoft.com/cache/source.msix
Scoop92%

main/aliyun

scoop install main/aliyun
  • installed executable or alias match
  • 匹配方式:Aliyun
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/aliyun.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated agent safety answer
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment