Aller au contenu
TakoAPI
Retour aux skills

near-cli-tools

par cuongdcdev

Coding Agents & IDEs
441Téléchargements rapportés par clawskills.sh
0Vues
0 mention J'aimeConnecte-toi pour aimer ce skill
—Pas encore noté
Ta note

Résumé

NEAR Protocol CLI installation and setup guide.

Description

Ce que fait ce skill

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.

Quand l'utiliser

  • 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

Exemple de workflow

ENTRÉE

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

AGENT
  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

SORTIE

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

Prérequis

  • NEAR account (account ID on mainnet or testnet)

Installation

clawhub install cuongdcdev/near-cli-tools

Exécute la commande CLI, ou colle l'instruction dans Claude Code, Cursor, Codex ou l'agent de code que tu utilises.

Liens