Automic VaultAutomic Vault

brew

Install near with Homebrew

Human-friendly console utility for interacting with NEAR Protocol. Version 0.29.0 via Homebrew; verified 2026-07-21.

install

Additional install commands

macOS

Homebrewverified ยท 100%
brew install near

local Homebrew formula metadata

overview

Package summary

Human-friendly console utility for interacting with NEAR Protocol

Commands and aliases

  • near

history

Project history and usage

NEAR CLI is a Rust command-line client for interacting with NEAR Protocol. It guides users through account, token, staking, smart-contract, transaction, network, and extension operations while also allowing fully specified commands for scripts and CI.

Project history

The near-cli-rs repository began in 2021 as a Rust implementation of the NEAR command-line experience. It became a complete rewrite of the earlier JavaScript near-cli, emphasizing faster startup, no Node.js runtime dependency, interactive prompts, and system-keychain integration.

Adoption history

The official project recommends the Rust CLI for new users. It is distributed as platform installers and portable archives, through npm/npx wrappers, Cargo, Homebrew, and source builds, with documented non-interactive patterns for CI.

How it is used

Running near without a complete command opens an interactive flow. Direct subcommands support account management, NEAR and token transfers, staking, smart-contract deployment and calls, transaction inspection, and selection among mainnet, testnet, and custom network configurations.

Why package nerds care

NEAR CLI illustrates a common ecosystem migration from a runtime-dependent JavaScript CLI to a portable Rust binary. Its broad distribution matrix, native credential stores, scripting mode, and extension mechanism make it relevant to both package maintainers and blockchain automation users.

Timeline

  • 2021-03: The near-cli-rs official repository was created.
  • 2026: The project documented near-cli-rs as the recommended CLI for new users and continued distributing native installers, archives, npm wrappers, Cargo builds, and package-manager builds.

Related projects

  • The project replaces the older JavaScript near-cli for new users and complements cargo-near for building Rust smart contracts on NEAR.

security posture

No protected-tool coverage found yet

No matching local secret-handling manifest was found for near. Nucleus package metadata is still published here so future coverage has a stable package URL.

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Installs with 1 runtime dependencies.
  • Build metadata lists 3 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

local files

Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.

Configuration files

Config paths the tool may read or write during local use.

Linux
${XDG_CONFIG_HOME:-$HOME/.config}/near-cli/config.toml
macOS
~/Library/Application Support/near-cli/config.toml
Windows
%APPDATA%\near-cli\config.toml

executables

Installed executables

CommandKindExposureNote
nearcliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-25
manager version0.29.0
manager updated2026-07-21
local dataok
upstreamcurrent
latest detectedv0.29.0

https://github.com/near/near-cli-rs

  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:near
Version0.29.0
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/near
Homepagehttps://near.cli.rs
Repositoryhttps://github.com/near/near-cli-rs
Upstream docshttps://github.com/near/near-cli-rs/blob/main/docs/GUIDE.en.md
LicenseMIT OR Apache-2.0
Source archivehttps://github.com/near/near-cli-rs/archive/refs/tags/v0.29.0.tar.gz
Last updated2026-07-21T04:20:01Z
Pulsenew
Dependenciesopenssl@3
Build dependenciescmake, pkgconf, rust
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namenear
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • package relationship graph
  • package version freshness
  • package-page enrichment