OpenViSTAI · Agents · Blockchain · Crypto
Menu
Developer Tools

NEAR CLI

NEAR CLI is an open-source command-line tool that guides users through interactions with NEAR Protocol, including account and token management, staking, smart-contract operations, transactions, configuration and extensions.

Independent OpenViST project profile, based on linked sources.

NEAR CLI — OpenViST project profile in Developer Tools.
OpenViST project illustration. See the linked sources for product details.
Understand the project

Practical overview

When it fits

Use it when you want a guided terminal route for NEAR Protocol tasks or need to incorporate contract interactions into a documented CI workflow.

Who it is for

  • NEAR developers who want to manage contracts and make protocol calls from a terminal.
  • Users who need command-line access to NEAR accounts, token assets, staking or transactions.
  • Teams incorporating NEAR actions into GitHub Actions workflows.

Documented uses

  • Manage NEAR accounts and token assets, including NEAR, fungible tokens and NFTs.
  • View, add or withdraw staking.
  • Deploy smart-contract code and call contract functions.
  • Operate transactions and configure network connections in a config.toml file.
  • Automate a contract function call in a GitHub Actions workflow.
Before you choose

Requirements & limits

The public repository specifies an Apache-2.0 license. Installation instructions cover macOS, Linux and Windows, with different installation routes for each platform.

  • The interactive menu groups account, token, staking, contract, transaction, configuration and extension tasks.
  • Installation routes include Homebrew, Windows installers, shell scripts, Node.js packages and Cargo.
  • Building with Cargo requires Rust; the documented Linux build enables Ledger support by default and requires libudev-dev.
  • The CI example configures network and signer values through GitHub Actions variables and secrets.

Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.

Source-based practical guide

Install NEAR CLI with Cargo

Install the CLI from its published Cargo package.

Before you start

  • Cargo and Rust installed.
  • On Linux, the documented Ledger-enabled build requires libudev-dev; Debian and Ubuntu instructions specify apt install libudev-dev.

Steps

  1. Open a terminal.

  2. Run cargo install near-cli-rs.

Expected outcome

The NEAR CLI package is installed through Cargo.

Guide limitations

  • The repository's Linux build enables Ledger support by default and requires libudev-dev.
Source-based practical guide

Install NEAR CLI through Homebrew

Install the CLI on macOS or Linux using Homebrew.

Before you start

  • A macOS or Linux environment with Homebrew.

Steps

  1. Open a terminal.

  2. Run brew install near.

Expected outcome

The Homebrew installation command installs NEAR CLI.

Guide limitations

  • The documented Homebrew route is for macOS and Linux.
Evidence and transparency

Sources & review

Source record details
Source availability
Active
Sources checked
11 October 2026
Original website title
near/near-cli-rs · Official homepage title · retained in its source language