Files
agent-profiles/suites-help/系统使用手册/快速入门.md
T
2026-07-20 08:55:58 +00:00

837 B

快速入门

第一步:安装 gis-actions

# Linux
curl -sLO https://packages.mercator.cn/public/gis-actions/latest.deb
sudo dpkg -i latest.deb

# Windows
# 下载 latest-windows.zip 解压到 %LOCALAPPDATA%\AgentGIS\gis-actions\,加入 PATH

前提条件:Linux 系统 + Docker。首次执行时会自动下载 gis-base 镜像。

第二步:浏览套件

curl -s https://suites.mercator.cn/api/v1/suites | python3 -m json.tool

记下你要用的套件 ID。

第三步:执行套件

SUITE_MARKET_URL="https://suites.mercator.cn" \
agc run /tmp/output --suite-id <suite-id> --input key=value

执行在本地 Docker 容器中完成,数据不上传云端。

第四步:查看结果

执行完成后,结果文件在工作目录(如 /tmp/output/_step_outputs/)中。