Voobase
登录/注册

开发接入

Quick start:先安装 CLI、skill 让 Agent 创建或接管应用

安装说明可直接复制给 Agent,平台不限定Agent,你可使用Cursor、claude code等。

platform

CLI

0.1.3 • published

多数 Agent 沙箱没有全局安装权限,优先使用沙箱安装;仅在可写全局 npm prefix / cache / bin 时使用全局安装。

沙箱安装(推荐)

系统要求: Node 20+;macOS/Linux 需要 curl、unzip;Windows 需要 PowerShell 5+

推荐 Agent 默认使用;无需 npm 全局安装权限。安装异常时,请先查看解压目录内的 README-WINDOWS.md。

默认 wrapper: voobase-cli-sandbox/bin/platform

macOS / Linux
# 安装平台 CLI(prod,沙箱安装)

# macOS / Linux(POSIX)
curl -fsSL "https://assets.voobase.cn/distribution/cli/0.1.3/voobase-cli-sandbox-0.1.3.zip" -o voobase-cli-sandbox.zip
rm -rf ./voobase-cli-sandbox
unzip -oq voobase-cli-sandbox.zip
chmod +x ./voobase-cli-sandbox/bin/platform
export PATH="$PWD/voobase-cli-sandbox/bin:$PATH"
platform help
Windows PowerShell
# 安装平台 CLI(prod,沙箱安装)

# Windows PowerShell
$ArchivePath = Join-Path $PWD "voobase-cli-sandbox.zip"
$InstallDir = Join-Path $PWD "voobase-cli-sandbox"
Invoke-WebRequest -Uri "https://assets.voobase.cn/distribution/cli/0.1.3/voobase-cli-sandbox-0.1.3.zip" -OutFile $ArchivePath
Remove-Item -LiteralPath $InstallDir -Recurse -Force -ErrorAction SilentlyContinue
if (Get-Command tar.exe -ErrorAction SilentlyContinue) {
  tar.exe -xf $ArchivePath -C $PWD
  if ($LASTEXITCODE -ne 0) { throw "tar.exe 解压失败;请查看 README-WINDOWS.md。" }
} else {
  Expand-Archive -LiteralPath $ArchivePath -DestinationPath $PWD -Force
}
$BinPath = [IO.Path]::GetFullPath((Join-Path $InstallDir "bin"))
$UserPath = [Environment]::GetEnvironmentVariable("Path", "User")
if (($UserPath -split ";") -notcontains $BinPath) { [Environment]::SetEnvironmentVariable("Path", "$BinPath;$UserPath", "User") }
$env:Path = "$BinPath;$env:Path"
& "$BinPath\platform.cmd" help
# 如安装异常,请查看 .\voobase-cli-sandbox\README-WINDOWS.md
Windows CMD 验证
# Windows CMD
# 首次安装请执行上方 PowerShell 段;完成后新开 CMD 验证:
where.exe platform.cmd
platform.cmd help

全局安装

系统要求: Node 20+、npm、全局安装权限

需要 npm 全局安装权限,以及可写的全局 prefix / cache / bin。

# 安装平台 CLI(prod,全局安装)
# 需要 npm 全局安装权限,以及可写的全局 prefix / cache / bin
npm install -g @voobase/cli
platform help

官方 Skill

voobase-light-app • 0.1.3

下载 ZIP
用于让 Agent 理解平台开发路径、模板与 DB/Auth/CMS/Workflow 等能力。 最低 CLI 版本: 0.1.3
# 下载官方 Skill(prod)
curl -L "https://assets.voobase.cn/distribution/skills/platform-light-app/0.1.3/voobase-light-app.zip" -o voobase-light-app.zip
# 解压后,将目录交给 Agent 作为 Skill 安装源