# nats を Homebrew でインストール

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

## インストール

```sh
sudo av install brew:nats
```

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

### macOS

- Homebrew (100%):

```sh
brew install nats
```

  証拠: local Homebrew formula metadata

## パッケージ情報

- **パッケージキー:** brew:nats
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/nats>
- **バージョン:** 0.5.1
- **ソース概要:** Utility for NATS Server and JetStream administration
- **ホームページ:** <https://github.com/nats-io/natscli>
- **リポジトリ:** <https://github.com/nats-io/natscli>
- **ライセンス:** Apache-2.0
- **ソースアーカイブ:** <https://github.com/nats-io/natscli/archive/refs/tags/v0.5.1.tar.gz>
- **最終更新:** 2026-10-26T18:50:54Z
- **生成日時:** 2026-11-04T12:20:42+00:00

## 実行可能ファイル

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

## ビルド依存関係

- go

## インストール挙動

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

## バージョンと鮮度

- ページ生成日: 2026-11-04
- マネージャ版: 0.5.1
- マネージャ更新日: 2026-10-26
- ローカルデータ: OK
- 上流リポジトリ: https://github.com/nats-io/natscli
- 検出された最新: v0.5.1 (最新)
## プロジェクトの歴史と使われ方

NATS CLI is the official command-line utility for interacting with NATS, administering JetStream resources, inspecting servers, managing contexts, and testing messaging workloads.

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

NATS CLI was developed as the official command-line client and administrative utility for the NATS ecosystem. It consolidates messaging operations, JetStream management, monitoring, benchmarking, and server inspection in the `nats` executable.

The project stores named connection contexts as JSON documents, allowing server URLs and authentication settings to be reused across commands.

### 採用の歴史

The CLI is maintained in the official nats-io organization and is distributed through Homebrew as well as release archives and installation channels documented by the project.

Its scope expanded with the NATS ecosystem, providing administrative workflows for JetStream, Key-Value stores, Object Stores, services, server monitoring, and authentication contexts.

### 使われ方

Operators use `nats pub`, `nats sub`, and `nats request` for messaging; `nats stream`, `consumer`, `kv`, and `object` commands for JetStream resources; and `nats server` commands for inspection and administration.

Named contexts created with `nats context add` retain server and authentication settings. Credentials files may be referenced by a context, but the official CLI does not prescribe one fixed credentials-file location.

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

The package gives operators one official executable for both everyday publish/subscribe testing and substantial NATS or JetStream administration. Named contexts make multiple servers and authentication profiles manageable from a package-installed CLI.

### タイムライン

- Early 2020s: The official natscli project established the `nats` command as the unified NATS administrative CLI.
- 2024: The v0.1 series continued expanding operational and authentication functionality.
- 2026: Official releases continue to add JetStream, reporting, monitoring, and server-management improvements.

### Related projects

- Related official projects include nats-server, NATS client libraries, the nsc account-management tool, and the wider JetStream ecosystem.

### ソース

- Official NATS documentation: https://docs.nats.io/
- Official releases: https://github.com/nats-io/natscli/releases
- Official repository and README: https://github.com/nats-io/natscli


## セキュリティノート

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



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

- Unix: ~/.config/nats/context
## ソースデータベース詳細

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


## 関連リンク

- [Source-control packages](https://pkg.so/ja/source-control-tools/) - Belongs to a source-control command family.
- [Networking and protocol packages](https://pkg.so/ja/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [nats-server](https://pkg.so/ja/brew/nats-server/) - NATS CLI is the documented client and administrative companion for NATS Server, providing publish/subscribe tests and management of the server's built-in JetStream features.

  ソース: <https://docs.nats.io/concepts/getting-started/> · <https://github.com/nats-io/natscli#readme> · <https://github.com/nats-io/nats-server#readme>

## Combined YAML source

View the package source record on GitHub. [combined/nats.yml](https://github.com/mxcl/pkgdb/blob/main/combined/nats.yml)


## ソース

- pkg.so package database
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- package relationship graph
- cross-ecosystem install command graph
