# nali mit Homebrew, MacPorts, Nix, scoop installieren

Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für nali in AI-Agent-Workflows.

## Installation

```sh
sudo av install brew:nali
```

Weitere Installationsbefehle:

### macOS

- Homebrew (100%):

```sh
brew install nali
```

  Evidenz: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install nali
```

  Evidenz: MacPorts ports tree: net/nali/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#nali
```

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

### Windows

- Scoop (92%):

```sh
scoop install main/nali
```

  Evidenz: Scoop official bucket manifest trees: bucket/nali.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

## Paketfakten

- **Paketschlüssel:** brew:nali
- **Paketmanager:** Homebrew
- **Version:** 0.8.1
- **Quellzusammenfassung:** Tool for querying IP geographic information and CDN provider
- **Homepage:** <https://github.com/zu1k/nali>
- **Repository:** <https://github.com/zu1k/nali>
- **Zuletzt aktualisiert:** 2026-07-26T19:43:13+02:00
- **Generiert:** 2026-08-03T19:37:03+00:00

## Executables

- nali (Alias)

## Installationsverhalten

- Bottle: nicht verfügbar

## Version und Aktualität

- Seite generiert: 2026-08-03
- Manager-Version: 0.8.1
## Projektgeschichte und Nutzung

nali is a Go terminal utility for annotating IP addresses and CDN hostnames with offline geographic and provider information.

### Projektgeschichte

The GitHub repository was created on 2020-07-17. Its README describes Nali as an offline terminal tool for querying IP geographic information and CDN providers, with support for multiple data sources such as Chunzhen/QQWry, ZX IPv6, GeoIP2, IPIP, ip2region, DB-IP, and IP2Location DB3 Lite.

The 0.8 line in late 2023 added JSON output and self-update work in v0.8.0, followed by v0.8.1 on 2023-12-11 with a fix recommended for v0.8.0 users and country-code output for GeoIP JSON.

### Adoptionsgeschichte

nali has a visibly stronger GitHub footprint than its Homebrew install count suggests. Repository metadata consulted on 2026-07-01 showed 4,095 stars and 370 forks, while the Homebrew formula listed 218 installs over the prior 365 days.

The adoption pattern is regional and operator-focused: it is useful for network debugging, DNS/CDN inspection, traceroute or dig/nslookup annotation, and log enrichment, especially for users who want offline lookups and Chinese-language network database support.

### Wie es verwendet wird

The README demonstrates direct lookup (`nali 1.2.3.4`), pipe usage (`echo IP 6.6.6.6 | nali`), interactive lookup, and combining it with `dig` or `nslookup` so resolved IPs and CNAMEs get annotated inline. The help output includes an `update` command for refreshing QQWry, ZX IPv6, ip2region, and CDN data.

Package nerds use nali as a filter: run a networking command, pipe the output through nali, and get human-readable IP/CDN hints without sending every lookup to an online API.

### Warum Paket-Nerds sich dafür interessieren

nali is a neat example of a packaged offline-data CLI: the executable is small, the value comes from data-provider support and update workflows, and the Unix pipeline behavior makes it compose with ordinary diagnostics.

### Zeitleiste

- 2020-07-17: GitHub repository created.
- 2023-10-02: v0.8.0 release adds JSON output and self-update work.
- 2023-12-11: v0.8.1 release fixes v0.8.0 issues and adds country-code output for GeoIP JSON.
- 2026-07-01: Homebrew Formulae page listed version 0.8.1 and 218 installs over the prior 365 days.

### Related projects

- QQWry/Chunzhen IP database
- GeoIP2
- ip2region
- NextTrace

### Quellen

- <https://api.github.com/repos/zu1k/nali>
- <https://api.github.com/repos/zu1k/nali/releases?per_page=5>
- <https://formulae.brew.sh/formula/nali>
- <https://github.com/zu1k/nali>


## Sicherheitshinweise

narrow executable package without higher-risk signals.

- **Geiger-Risiko:** grün / niedrig
- narrow executable package without higher-risk signals


## 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: $NALI_CONFIG_HOME/config.yaml, $XDG_CONFIG_HOME/nali/config.yaml, $NALI_HOME/config.yaml
## Andere Paketmanager-Einträge

- Nix - nali: normalized package name match | nixpkgs package indexes: pkgs/by-name/na/nali/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- MacPorts - nali: normalized package name match | MacPorts ports tree: net/nali/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Scoop - main/nali: normalized package name match | Scoop official bucket manifest trees: bucket/nali.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1


## Combined YAML source

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


## Quellen

- 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
