·icp-cli
</>

icp-cli

指導使用 icp 命令列工具建置和部署 Internet 電腦應用程式。涵蓋專案配置 (icp.yaml)、配方、環境、容器生命週期和身分管理。在建置、部署或管理任何 IC 專案時使用。當使用者提到 icp、dfx、容器部署、本機網路或專案設定時使用。請勿用於容器級編程模式,例如存取控制、容器間呼叫或穩定記憶體 - 而是使用特定於領域的技能。

15安裝·4熱度·@dfinity

安裝

$npx skills add https://github.com/dfinity/icskills --skill icp-cli

如何安裝 icp-cli

透過命令列快速安裝 icp-cli AI 技能到你的開發環境

  1. 開啟終端機: 開啟你的終端機或命令列工具(如 Terminal、iTerm、Windows Terminal 等)
  2. 執行安裝指令: 複製並執行以下指令:npx skills add https://github.com/dfinity/icskills --skill icp-cli
  3. 驗證安裝: 安裝完成後,技能將自動設定到你的 AI 程式設計環境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用

來源:dfinity/icskills。

SKILL.md

查看原文

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
分類
</>開發工具
認證
收錄時間
2026-03-10
更新時間
2026-03-10

Browse more skills from dfinity/icskills

快速解答

什麼是 icp-cli?

指導使用 icp 命令列工具建置和部署 Internet 電腦應用程式。涵蓋專案配置 (icp.yaml)、配方、環境、容器生命週期和身分管理。在建置、部署或管理任何 IC 專案時使用。當使用者提到 icp、dfx、容器部署、本機網路或專案設定時使用。請勿用於容器級編程模式,例如存取控制、容器間呼叫或穩定記憶體 - 而是使用特定於領域的技能。 來源:dfinity/icskills。

如何安裝 icp-cli?

開啟你的終端機或命令列工具(如 Terminal、iTerm、Windows Terminal 等) 複製並執行以下指令:npx skills add https://github.com/dfinity/icskills --skill icp-cli 安裝完成後,技能將自動設定到你的 AI 程式設計環境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用

這個 Skill 的原始碼在哪?

https://github.com/dfinity/icskills

詳情

分類
</>開發工具
來源
skills.sh
收錄時間
2026-03-10