# Install gnmic with Homebrew, Nix

GNMI CLI client and collector. Version 0.46.0 via Homebrew; verified 2026-05-15.

## Install

```sh
sudo av install brew:gnmic
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install gnmic
```

  Evidence: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#gnmic
```

  Evidence: nixpkgs package indexes: pkgs/by-name/gn/gnmic/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## Package facts

- **Package key:** brew:gnmic
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/gnmic>
- **Version:** 0.46.0
- **Source summary:** GNMI CLI client and collector
- **Homepage:** <https://gnmic.openconfig.net>
- **Repository:** <https://github.com/openconfig/gnmic>
- **Upstream docs:** <https://gnmic.openconfig.net/>
- **License:** Apache-2.0
- **Source archive:** <https://github.com/openconfig/gnmic/archive/refs/tags/v0.46.0.tar.gz>
- **Last updated:** 2026-05-15T03:08:22Z
- **Generated:** 2026-07-08T18:08:21+00:00

## Executables

- gnmic (cli)
- gnmic (alias)

## Build dependencies

- go

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 0.46.0
- Package-manager updated: 2026-05-15
- Local data: ok
- Upstream repository: https://github.com/openconfig/gnmic
- Upstream latest detected: v0.46.0 (current)
## Project history and usage

gNMIc is an OpenConfig-hosted command-line client and collector for the gNMI network-management protocol. It supports Capabilities, Get, Set, and Subscribe RPCs while also acting as a telemetry collector with outputs for monitoring and messaging systems.

### Project history

The changelog records early 0.0.x releases in March and April 2020, followed by 0.1.0 on July 16, 2020. Early releases added output pipelines such as NATS/STAN, UDP, TCP, InfluxDB, and Prometheus, showing the project expanding from a CLI into a telemetry collection suite.

### Adoption history

In October 2022, Nokia donated gNMIc to OpenConfig, moving it from a vendor-originated tool into the OpenConfig organization. That transition mattered because gNMI itself is an OpenConfig-centered interface for model-driven network telemetry and configuration.

### How it is used

Network engineers use gNMIc to inspect device capabilities, get and set model paths, subscribe to telemetry streams, browse YANG paths interactively, and collect telemetry into Prometheus, Kafka, NATS, InfluxDB, OpenTelemetry, and similar systems. The documentation emphasizes flags, environment variables, config files, multi-target operations, and multiple subscriptions.

### Why package nerds care

For package maintainers and network automation users, gNMIc is significant because it makes a specialized gRPC/YANG protocol available as a single installable binary. It bridges lab one-liners, CI validation, and production-style telemetry pipelines without forcing every operator to write a custom gNMI client.

### Timeline

- 2020-03-24: Changelog records v0.0.1.
- 2020-07-16: v0.1.0 adds customizable NATS/STAN output subjects.
- 2020-10-21: v0.4.0 adds the prompt command and Prometheus output support.
- 2022-10: Nokia donates gNMIc to OpenConfig.

### Related projects

- gNMIc is tied to OpenConfig models, the gNMI protocol, YANG tooling, Prometheus, Grafana, Kafka, NATS, InfluxDB, OpenTelemetry, and network lab tools such as Containerlab.

### Sources

- <https://github.com/openconfig/gnmic>
- <https://gnmic.openconfig.net/>
- <https://gnmic.openconfig.net/changelog/>
- <https://netdevops.me/2022/gnmic-joins-openconfig/>


## Security Notes

No matching local secret-handling manifest was found for gnmic. Nucleus package metadata is still published here so future coverage has a stable package 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: ./.gnmic.yaml, ./.gnmic.yml, ./.gnmic.toml, ./.gnmic.json, ~/.gnmic.yaml, ~/.gnmic.yml, ~/.gnmic.toml, ~/.gnmic.json, $XDG_CONFIG_HOME/gnmic/.gnmic.yaml, $XDG_CONFIG_HOME/gnmic/.gnmic.yml, $XDG_CONFIG_HOME/gnmic/.gnmic.toml, $XDG_CONFIG_HOME/gnmic/.gnmic.json
## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** gnmic
- **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

## Other Package-Manager Records

- Nix - gnmic: normalized package name match | nixpkgs package indexes: pkgs/by-name/gn/gnmic/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## Related links

- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Productivity CLI packages](https://www.automicvault.com/pkg/productivity-cli-packages/) - Matched curated productivity category metadata from av.db.
- [Homebrew utility packages](https://www.automicvault.com/pkg/brew-utility-packages/) - Matched Homebrew package provider.
- [go](https://www.automicvault.com/pkg/brew/go/) - Build dependency declared by Homebrew.
- [juise](https://www.automicvault.com/pkg/brew/juise/) - Shares av.db curated category or tags: cli, network-automation, networking.
- [rancid](https://www.automicvault.com/pkg/brew/rancid/) - Shares av.db curated category or tags: cli, network-automation, networking.
- [activemq](https://www.automicvault.com/pkg/brew/activemq/) - Shares av.db curated category or tags: cli, networking.
- [adns](https://www.automicvault.com/pkg/brew/adns/) - Shares av.db curated category or tags: cli, networking.
- [aerleon](https://www.automicvault.com/pkg/brew/aerleon/) - Shares av.db curated category or tags: cli, networking.
- [ahcpd](https://www.automicvault.com/pkg/brew/ahcpd/) - Shares av.db curated category or tags: cli, networking.
- [airshare](https://www.automicvault.com/pkg/brew/airshare/) - Shares av.db curated category or tags: cli, networking.
- [algernon](https://www.automicvault.com/pkg/brew/algernon/) - Shares av.db curated category or tags: cli, networking.
- [fastnetmon](https://www.automicvault.com/pkg/brew/fastnetmon/) - Local metadata places this package in an adjacent workflow. Shared terms: cli, client, network, networking.

## Combined YAML source

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


## Sources

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