pkg.soopen package index

brew / rank 6197

Install nats with Homebrew

Utility for NATS Server and JetStream administration. Version 0.5.1 via Homebrew; verified 2026-10-26.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install nats

local Homebrew formula metadata

overview

Package summary

Utility for NATS Server and JetStream administration

Commands and aliases

  • nats

history

Project history and usage

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

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

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

Sources

  • 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

security posture

No protected-tool coverage found yet

No matching local secret-handling manifest was found for nats. 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 5 platform targets.
  • Build metadata lists 1 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.

Unix
~/.config/nats/context

executables

Installed executables

CommandKindExposureNote
natscliglobal 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-11-04
manager version0.5.1
manager updated2026-10-26
local dataok
upstreamcurrent
latest detectedv0.5.1

https://github.com/nats-io/natscli

  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:nats
Version0.5.1
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/nats
Homepagehttps://github.com/nats-io/natscli
Repositoryhttps://github.com/nats-io/natscli
LicenseApache-2.0
Source archivehttps://github.com/nats-io/natscli/archive/refs/tags/v0.5.1.tar.gz
Last updated2026-10-26T18:50:54Z
Pulseupdated
Build dependenciesgo
Bottleavailable (on arm64_golden_gate, arm64_linux, arm64_sequoia, arm64_tahoe, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namenats
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • 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

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