macOS
brew install nalilocal Homebrew formula metadata
安装
brew install nalilocal Homebrew formula metadata
nix profile install nixpkgs#nalinixpkgs package indexes · pkgs/by-name/na/nali/package.nix · 来源: api.github.com
scoop install main/naliScoop official bucket manifest trees · bucket/nali.json · 来源: api.github.com
概览
Tool for querying IP geographic information and CDN provider
历史
nali is a Go terminal utility for annotating IP addresses and CDN hostnames with offline geographic and provider information.
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.
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.
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.
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.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
local files
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.
Config paths the tool may read or write during local use.
$NALI_CONFIG_HOME/config.yaml$XDG_CONFIG_HOME/nali/config.yaml$NALI_HOME/config.yaml可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
nali | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:nali |
|---|---|
| 版本 | 0.8.1 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/nali |
| 主页 | https://github.com/zu1k/nali |
| 仓库 | https://github.com/zu1k/nali |
| 上游文档 | https://github.com/zu1k/nali#readme |
| 许可证 | MIT |
| 源码归档 | https://github.com/zu1k/nali/archive/refs/tags/v0.8.1.tar.gz |
| 构建依赖 | go |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | nali |
| 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 |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
nali
nix profile install nixpkgs#nalinali
sudo port install nalimain/nali
scoop install main/nali来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.