# near を Homebrew でインストール

near のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install brew:near
```

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install near
```

  証拠: local Homebrew formula metadata

## パッケージ情報

- **パッケージキー:** brew:near
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/near>
- **バージョン:** 0.29.0
- **ソース概要:** Human-friendly console utility for interacting with NEAR Protocol
- **ホームページ:** <https://near.cli.rs>
- **リポジトリ:** <https://github.com/near/near-cli-rs>
- **上流ドキュメント:** <https://github.com/near/near-cli-rs/blob/main/docs/GUIDE.en.md>
- **ライセンス:** MIT OR Apache-2.0
- **ソースアーカイブ:** <https://github.com/near/near-cli-rs/archive/refs/tags/v0.29.0.tar.gz>
- **最終更新:** 2026-07-21T04:20:01Z
- **生成日時:** 2026-07-25T07:20:51+00:00

## 実行可能ファイル

- near (cli)
- near (エイリアス)

## 依存関係

- openssl@3

## ビルド依存関係

- cmake
- pkgconf
- rust

## インストール挙動

- post-install フック: 未定義
- Bottle: 利用可能 対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## バージョンと鮮度

- ページ生成日: 2026-07-25
- マネージャ版: 0.29.0
- マネージャ更新日: 2026-07-21
- ローカルデータ: OK
- 上流リポジトリ: https://github.com/near/near-cli-rs
- 検出された最新: v0.29.0 (最新)
## プロジェクトの歴史と使われ方

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.

### プロジェクトの歴史

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.

### 採用の歴史

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.

### 使われ方

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.

### パッケージ好きにとっての重要性

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.

### タイムライン

- 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.

### ソース

- <https://github.com/near/near-cli-rs#readme>
- <https://github.com/near/near-cli-rs/blob/main/docs/README.en.md>
- <https://github.com/near/near-cli-rs/releases>
- <https://near.cli.rs/>


## セキュリティノート

near に一致するローカルシークレット処理マニフェストは見つかりませんでした。将来の対応で安定したパッケージ URL を使えるよう、Nucleus パッケージメタデータはここに公開されています。



## 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

- Linux: ${XDG_CONFIG_HOME:-$HOME/.config}/near-cli/config.toml
- macOS: ~/Library/Application Support/near-cli/config.toml
- Windows: %APPDATA%\near-cli\config.toml
## ソースデータベース詳細

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** near
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable


## 関連リンク

- [Terminal utility packages](https://www.automicvault.com/ja/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/ja/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/ja/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [Language runtime packages](https://www.automicvault.com/ja/pkg/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [openssl@3](https://www.automicvault.com/ja/pkg/brew/openssl-3/) - Runtime dependency declared by Homebrew.
- [cmake](https://www.automicvault.com/ja/pkg/brew/cmake/) - Build dependency declared by Homebrew.
- [pkgconf](https://www.automicvault.com/ja/pkg/brew/pkgconf/) - Build dependency declared by Homebrew.
- [rust](https://www.automicvault.com/ja/pkg/brew/rust/) - Build dependency declared by Homebrew.
- [anchor](https://www.automicvault.com/ja/pkg/brew/anchor/) - Shares av.db curated category or tags: blockchain, cli, developer-tools, smart-contracts.
- [clarinet](https://www.automicvault.com/ja/pkg/brew/clarinet/) - Shares av.db curated category or tags: blockchain, cli, developer-tools, smart-contracts.
- [chainhook](https://www.automicvault.com/ja/pkg/brew/chainhook/) - Shares av.db curated category or tags: blockchain, cli, developer-tools.
- [sui](https://www.automicvault.com/ja/pkg/brew/sui/) - Shares av.db curated category or tags: blockchain, cli, developer-tools, smart-contracts, web3.
- [aptos](https://www.automicvault.com/ja/pkg/brew/aptos/) - Shares av.db curated category or tags: blockchain, cli, developer-tools, smart-contracts.
- [bittensor](https://www.automicvault.com/ja/pkg/brew/bittensor/) - Shares av.db curated category or tags: blockchain, cli, developer-tools, staking.
- [solana](https://www.automicvault.com/ja/pkg/brew/solana/) - Shares av.db curated category or tags: blockchain, cli, developer-tools, web3.
- [stellar-cli](https://www.automicvault.com/ja/pkg/brew/stellar-cli/) - Shares av.db curated category or tags: blockchain, cli, developer-tools, smart-contracts.

## Combined YAML source

View the package source record on GitHub. [combined/near.yml](https://github.com/automic-vault/db/blob/main/combined/near.yml)


## ソース

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