# Install sngrep with Homebrew, apk, apt, dnf, Nix, zypper

Command-line tool for displaying SIP calls message flows. Version 1.8.4 via Homebrew; verified 2026-07-30. Also installable with debian: sudo apt install sngrep.

## Install

```sh
sudo av install brew:sngrep
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install sngrep
```

  Evidence: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add sngrep
```

  Evidence: Alpine Linux edge package indexes: sngrep from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install sngrep
```

  Evidence: Debian stable package indexes: sngrep from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install sngrep
```

  Evidence: Fedora Rawhide package metadata: sngrep from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#sngrep
```

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

- zypper (92%):

```sh
sudo zypper install sngrep
```

  Evidence: openSUSE Tumbleweed package metadata: sngrep from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

## Package facts

- **Package key:** brew:sngrep
- **Package manager:** Homebrew
- **Version:** 1.8.4
- **Source summary:** Command-line tool for displaying SIP calls message flows
- **Homepage:** <https://github.com/irontec/sngrep>
- **Repository:** <https://github.com/irontec/sngrep>
- **Last updated:** 2026-07-30T22:31:03+09:00
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- sngrep (alias)

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 1.8.4
## Project history and usage

sngrep is a terminal UI for displaying SIP call message flows. It supports live packet capture and reading PCAP files, using ncurses and libpcap as core dependencies.

### Project history

The public GitHub repository was created in 2013, and the official README copyright line identifies Irontec stewardship through 2026. The README describes the project as a SIP message flow viewer for terminal use.

### Adoption history

sngrep fits naturally into distro package collections for VoIP operators and network troubleshooters. The official README links binary installation instructions for Debian/Ubuntu, Red Hat-family systems, Alpine, Gentoo, Arch, macOS, and OpenWRT/LEDE, and the supplied package facts list several package managers.

### How it is used

Users can capture SIP traffic live, inspect PCAP files, filter by host and port, save captures, and configure behavior in sngreprc. Optional build features include OpenSSL or GnuTLS, PCRE, zlib, Unicode, IPv6, and EEP support.

### Why package nerds care

sngrep is a compact example of a network TUI with optional protocol and compression features, making it a useful packaging case for dependency flags, ncurses variants, libpcap permissions, and telecom workflows.

### Timeline

- 2013: Public GitHub repository created.
- 2026: Official README copyright range and GitHub metadata show ongoing maintenance.

### Related projects

- The README and wiki connect sngrep to SIP, PCAP, ncurses, libpcap, TLS libraries, PCRE, zlib, and OpenWRT/LEDE packaging.

### Sources

- <https://api.github.com/repos/irontec/sngrep>
- <https://github.com/irontec/sngrep#readme>
- <https://github.com/irontec/sngrep/wiki/Configuration>
- source_facts.package-manager


## Security Notes

No matching local secret-handling manifest was found for sngrep. 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: /etc/sngreprc, /usr/local/etc/sngreprc, ~/.sngreprc
## Other Package-Manager Records

- Debian apt - sngrep - 1.8.2-1: normalized package name match | Debian stable package indexes: sngrep from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Ncurses SIP Messages flow viewer | https://github.com/irontec/sngrep
- Nix - sngrep: normalized package name match | nixpkgs package indexes: pkgs/by-name/sn/sngrep/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - sngrep - 1.8.0-1build2: normalized package name match | Ubuntu 24.04 LTS package indexes: sngrep from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Ncurses SIP Messages flow viewer | https://github.com/irontec/sngrep
- apk - sngrep - 1.8.4-r0: normalized package name match | Alpine Linux edge package indexes: sngrep from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | display SIP call message flows from a terminal | https://github.com/irontec/sngrep
- apk - sngrep-dbg - 1.8.4-r0: normalized package name match | Alpine Linux edge package indexes: sngrep-dbg from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | display SIP call message flows from a terminal (debug symbols) | https://github.com/irontec/sngrep
- apk - sngrep-doc - 1.8.4-r0: normalized package name match | Alpine Linux edge package indexes: sngrep-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | display SIP call message flows from a terminal (documentation) | https://github.com/irontec/sngrep
- dnf - sngrep - 1.8.4-3.fc45: normalized package name match | Fedora Rawhide package metadata: sngrep from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Ncurses SIP Messages flow viewer | https://github.com/irontec/sngrep
- zypper - sngrep - 1.8.4-1.2: normalized package name match | openSUSE Tumbleweed package metadata: sngrep from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Ncurses SIP Messages flow viewer | https://github.com/irontec/sngrep


## Combined YAML source

View the package source record on GitHub. [combined/sngrep.yml](https://github.com/mxcl/pkgdb/blob/main/combined/sngrep.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
