安装与快速开始
DataCore CLI 需要 Python 3.10 或更高版本。安装程序只写入当前用户目录,不需要管理员权限。
macOS / Linux
Section titled “macOS / Linux”curl -fsSL https://github.com/dptech-yb/datacore-cli/releases/latest/download/install.sh | shWindows PowerShell
Section titled “Windows PowerShell”irm https://github.com/dptech-yb/datacore-cli/releases/latest/download/install.ps1 | iex安装脚本会完成三件事:
- 从官方 GitHub Release 下载 wheel;
- 用同一 Release 的
SHA256SUMS校验文件; - 安装 CLI、同步 Skills,并打开 DataCore 授权页。
安装完成后检查:
datacore setupdatacore doctordatacore auth statusdatacore setup 会同步 DataCore Skills,并在浏览器中打开平台授权页。密码、飞书和 Bohrium 登录最终都绑定到当前 DataCore 平台账号。
生产环境可以固定到明确版本:
curl -fsSL https://github.com/dptech-yb/datacore-cli/releases/latest/download/install.sh \ | sh -s -- --version v0.1.0 --no-setup也可以从 GitHub Releases 下载 wheel、校验和、SBOM 和 Sigstore bundle。
datacore updatedatacore uninstall --yes更新会同步 CLI 与 Skills。卸载会撤销当前设备授权,并清理 CLI 与 DataCore Skills。