跳到正文
TakoAPI
返回技能列表

near-cli-tools

由 cuongdcdev 提供

Coding Agents & IDEs
441下载量由 clawskills.sh 提供
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

NEAR Protocol CLI installation and setup guide.

描述

该技能的功能

Installs and configures near-cli-rs, the Rust-based NEAR Protocol command-line interface. Covers multiple installation methods across Linux, macOS, and Windows. Also handles PATH setup, verification, and first-use account commands.

Supports four installation paths (shell script, npm, Windows MSI, Cargo) so any developer can get set up without switching tools.

何时使用

  • Installing NEAR CLI on a new development machine
  • Verifying NEAR CLI is correctly installed and on PATH
  • Importing an existing NEAR account using a seed phrase
  • Deploying or calling functions on a NEAR smart contract

示例工作流

输入

User asks: How do I install NEAR CLI and check my account balance?

智能体
  1. 1

    Run the shell script installer via curl to install near-cli-rs

  2. 2

    Locate the near binary absolute path using which near or whereis near

  3. 3

    Add ~/.cargo/bin to PATH if near is not found

  4. 4

    Run near --version to confirm installation succeeded

  5. 5

    Run near account view-account-summary <account.near> network-config mainnet now to show balance

输出

NEAR CLI installed and account summary displayed showing balance and staking info

前置要求

  • NEAR account (account ID on mainnet or testnet)

安装

clawhub install cuongdcdev/near-cli-tools

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接