# Install gnmic with Homebrew, Nix

GNMI CLI client and collector. Version 0.46.0 via Homebrew; verified 2026-07-27. Also installable with nix: nix profile install nixpkgs#gnmic.

## 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
- **Version:** 0.46.0
- **Source summary:** GNMI CLI client and collector
- **Homepage:** <https://gnmic.openconfig.net>
- **Repository:** <https://github.com/openconfig/gnmic>
- **Last updated:** 2026-07-27T14:57:50+02:00
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- gnmic (alias)

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 0.46.0
## 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
## 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


## Combined YAML source

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


## Sources

- pkg.so package database
- Geiger risk classifier
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
