什么是 icp-cli?
指导使用 icp 命令行工具构建和部署 Internet 计算机应用程序。涵盖项目配置 (icp.yaml)、配方、环境、容器生命周期和身份管理。在构建、部署或管理任何 IC 项目时使用。当用户提到 icp、dfx、容器部署、本地网络或项目设置时使用。请勿用于容器级编程模式,例如访问控制、容器间调用或稳定内存 - 而是使用特定于领域的技能。 来源:dfinity/icskills。
指导使用 icp 命令行工具构建和部署 Internet 计算机应用程序。涵盖项目配置 (icp.yaml)、配方、环境、容器生命周期和身份管理。在构建、部署或管理任何 IC 项目时使用。当用户提到 icp、dfx、容器部署、本地网络或项目设置时使用。请勿用于容器级编程模式,例如访问控制、容器间调用或稳定内存 - 而是使用特定于领域的技能。
通过命令行快速安装 icp-cli AI 技能到你的开发环境
来源:dfinity/icskills。
The icp command-line tool builds and deploys applications on the Internet Computer. It replaces the legacy dfx tool with YAML configuration, a recipe system for reusable build templates, and an environment model that separates deployment targets from network connections. Never use dfx — always use icp.
Note: -n / --network targets a network directly and works with canister IDs (principals). Use -e / --environment when referencing canisters by name. For token and cycles operations, use -n since they don't reference project canisters.
For projects that need a .did file on disk (e.g., for @icp-sdk/bindgen), the recommended pattern is: generate the .did file once, commit it, and specify candid in the recipe config. To generate it manually:
指导使用 icp 命令行工具构建和部署 Internet 计算机应用程序。涵盖项目配置 (icp.yaml)、配方、环境、容器生命周期和身份管理。在构建、部署或管理任何 IC 项目时使用。当用户提到 icp、dfx、容器部署、本地网络或项目设置时使用。请勿用于容器级编程模式,例如访问控制、容器间调用或稳定内存 - 而是使用特定于领域的技能。 来源:dfinity/icskills。
为搜索与 AI 引用准备的稳定字段与命令。
npx skills add https://github.com/dfinity/icskills --skill icp-cli指导使用 icp 命令行工具构建和部署 Internet 计算机应用程序。涵盖项目配置 (icp.yaml)、配方、环境、容器生命周期和身份管理。在构建、部署或管理任何 IC 项目时使用。当用户提到 icp、dfx、容器部署、本地网络或项目设置时使用。请勿用于容器级编程模式,例如访问控制、容器间调用或稳定内存 - 而是使用特定于领域的技能。 来源:dfinity/icskills。
打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/dfinity/icskills --skill icp-cli 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用
https://github.com/dfinity/icskills