File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 55## 1. 推荐:二进制安装(无需 Node)
66
77``` bash
8- curl -fsSL https://bailian.aliyun.com/install.sh | bash
8+ curl -fsSL https://bailian.aliyun.com/cli/ install.sh | bash
99```
1010
1111可选:正式安装读 CDN 上的 ` manifest.json ` 。预发 / channel 验证示例:
1212
1313``` bash
14- curl -fsSL https://bailian.aliyun.com/install.sh | bash -s -- --channel sync-release
14+ curl -fsSL https://bailian.aliyun.com/cli/ install.sh | bash -s -- --channel sync-release
1515```
1616
1717也可用 ` --version ` / ` --cdn ` (或环境变量 ` BAILIAN_CLI_CDN ` )覆盖资源根。安装脚本本身不在本仓库维护。
1818
1919Windows PowerShell:
2020
2121``` powershell
22- irm https://bailian.aliyun.com/install.ps1 | iex
22+ irm https://bailian.aliyun.com/cli/ install.ps1 | iex
2323```
2424
2525带参时先落盘再执行(` irm | iex ` 不便传参),或使用仓外静态资源文档中的预发入口。
Original file line number Diff line number Diff line change @@ -78,10 +78,10 @@ No timeline scrubbing. No frame-by-frame editing. Just one sentence → one vide
7878
7979``` bash
8080# Recommended — no Node required
81- curl -fsSL https://bailian.aliyun.com/install.sh | bash
81+ curl -fsSL https://bailian.aliyun.com/cli/ install.sh | bash
8282
8383# Windows (PowerShell)
84- irm https://bailian.aliyun.com/install.ps1 | iex
84+ irm https://bailian.aliyun.com/cli/ install.ps1 | iex
8585
8686# Node users / developers (Node.js >= 18.17)
8787npm install -g bailian-cli
Original file line number Diff line number Diff line change @@ -76,10 +76,10 @@ _专为 AI Agent 打造,每个命令均可作为结构化工具调用。_
7676
7777``` bash
7878# 推荐 — 无需本机 Node.js
79- curl -fsSL https://bailian.aliyun.com/install.sh | bash
79+ curl -fsSL https://bailian.aliyun.com/cli/ install.sh | bash
8080
8181# Windows(PowerShell)
82- irm https://bailian.aliyun.com/install.ps1 | iex
82+ irm https://bailian.aliyun.com/cli/ install.ps1 | iex
8383
8484# Node 用户 / 开发者(需要 Node.js >= 18.17)
8585npm install -g bailian-cli
Original file line number Diff line number Diff line change @@ -78,10 +78,10 @@ No timeline scrubbing. No frame-by-frame editing. Just one sentence → one vide
7878
7979``` bash
8080# Recommended — no Node required
81- curl -fsSL https://bailian.aliyun.com/install.sh | bash
81+ curl -fsSL https://bailian.aliyun.com/cli/ install.sh | bash
8282
8383# Windows (PowerShell)
84- irm https://bailian.aliyun.com/install.ps1 | iex
84+ irm https://bailian.aliyun.com/cli/ install.ps1 | iex
8585
8686# Node users / developers (Node.js >= 18.17)
8787npm install -g bailian-cli
Original file line number Diff line number Diff line change @@ -76,10 +76,10 @@ _专为 AI Agent 打造,每个命令均可作为结构化工具调用。_
7676
7777``` bash
7878# 推荐 — 无需本机 Node.js
79- curl -fsSL https://bailian.aliyun.com/install.sh | bash
79+ curl -fsSL https://bailian.aliyun.com/cli/ install.sh | bash
8080
8181# Windows(PowerShell)
82- irm https://bailian.aliyun.com/install.ps1 | iex
82+ irm https://bailian.aliyun.com/cli/ install.ps1 | iex
8383
8484# Node 用户 / 开发者(需要 Node.js >= 18.17)
8585npm install -g bailian-cli
Original file line number Diff line number Diff line change @@ -17,8 +17,8 @@ export const DEFAULT_CLI_CDN_BASE = "https://bailian-wiki.oss-cn-hangzhou.aliyun
1717export const GITHUB_RELEASES_BASE = "https://github.com/modelstudioai/cli/releases" ;
1818
1919/** User-facing install entry (docs / update hints); asset downloads still use getCliCdnBase(). */
20- export const DEFAULT_INSTALL_SCRIPT_URL = "https://bailian.aliyun.com/install.sh" ;
21- export const DEFAULT_INSTALL_PS1_URL = "https://bailian.aliyun.com/install.ps1" ;
20+ export const DEFAULT_INSTALL_SCRIPT_URL = "https://bailian.aliyun.com/cli/ install.sh" ;
21+ export const DEFAULT_INSTALL_PS1_URL = "https://bailian.aliyun.com/cli/ install.ps1" ;
2222
2323export function getCliCdnBase ( ) : string {
2424 const fromEnv = process . env . BAILIAN_CLI_CDN ?. trim ( ) ;
You can’t perform that action at this time.
0 commit comments