# nats-spy nats-spy is a terminal tool to help you to monitor NATS messages. ![](./demo.gif) # Install - Homebrew (macOS) ``` brew install alihanyalcin/nats-spy/nats-spy ``` # Usage ``` USAGE: nats-spy [FLAGS] [OPTIONS] FLAGS: -h, --help Prints help information -u, --username Authenticate with NATS using username. -p, --password Authenticate with NATS using password. -t, --token Authenticate with NATS using a token. -c, --credentials Authenticate with NATS using a .creds file. -V, --version Prints version information OPTIONS: -n, --nats-url NATS Server to establish a connection. [default: nats://localhost:4222] -s, --subject Subscription subject for NATS connection. [default: >] ``` Inspired by [mqtt-spy](https://github.com/eclipse/paho.mqtt-spy)