Automic VaultAutomic Vault

brew

使用 Homebrew, chocolatey, MacPorts, Nix, scoop, winget 安装 nextdns

查看 nextdns 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install nextdns

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install nextdns

MacPorts ports tree · net/nextdns/Portfile · 来源: api.github.com

Linux

Nix已验证 · 92%
nix profile install nixpkgs#nextdns

nixpkgs package indexes · pkgs/by-name/ne/nextdns/package.nix · 来源: api.github.com

Windows

Chocolatey已验证 · 92%
choco install nextdns

Chocolatey community package catalog · nextdns · 来源: community.chocolatey.org

Scoop已验证 · 92%
scoop install main/nextdns

Scoop official bucket manifest trees · bucket/nextdns.json · 来源: api.github.com

Windows Package Manager已验证 · 92%
winget install --id NextDNS.NextDNS -e

Windows Package Manager source index · NextDNS.NextDNS · 来源: cdn.winget.microsoft.com

概览

软件包摘要

CLI for NextDNS's DNS-over-HTTPS (DoH)

命令和别名

  • nextdns

历史

项目历史与用法

NextDNS CLI is the open source DNS53-to-DNS-over-HTTPS proxy for the NextDNS service. It is aimed at routers and Unix-like systems, while also serving Windows and macOS users who prefer a CLI and an open source client over the GUI app.

项目历史

NextDNS was founded in May 2019 by Romain Cointepas and Olivier Poitrey, and the CLI followed the service's core idea: make encrypted, policy-aware DNS usable not only per browser or per app, but at the device or router boundary. The GitHub repository is written mostly in Go and packages the resolver/proxy, router integrations, install scripts, and platform glue.

采用历史

The CLI became a practical choice for people running NextDNS on OpenWrt, Ubiquiti/UniFi, Asuswrt-Merlin, Firewalla, Linux servers, macOS, and Windows. Its adoption is tied to home-network and small-network DNS filtering: users want DoH, local caching, split horizon/conditional forwarding, client identification in logs, and one setup that covers devices that cannot install an app.

The GitHub page showed about 4.1k stars, 242 forks, and 167 releases when researched on July 1, 2026. Homebrew analytics reported 185 installs in 30 days, 476 in 90 days, and 1,452 in 365 days for the formula when queried on the same date.

使用方式

Package nerds install NextDNS CLI when they want the router or host to listen on traditional DNS port 53 and forward queries through encrypted NextDNS endpoints. The installer/config flow asks for a NextDNS profile ID, can configure router mode, can report client information, and can enable local caching.

The interesting usage is not just 'run a DoH client'. NextDNS CLI can mix NextDNS with another DNS provider for split-horizon behavior, integrate with router environments, expose service control commands, and centralize DNS policy for machines that otherwise leak around browser-only DoH settings.

为什么软件包爱好者会关心

NextDNS CLI is a packaging bridge between privacy DNS SaaS and real network appliances. In av.db, the key enrichment point is that the executable is likely to manage local resolver/service state and profile identifiers in /etc/nextdns.conf rather than storing classic username/password credentials.

时间线

  • 2019-05: NextDNS founded in Delaware by Romain Cointepas and Olivier Poitrey.
  • 2019: The nextdns/nextdns tag series began with v1.0.0 in the public repository.
  • 2026-02-22: GitHub wiki home page revision date observed for CLI documentation.
  • 2026-06-03: GitHub page listed nextdns-v1.47.3 as the latest release.
  • 2026-07-01: Homebrew formula version observed as 1.47.3, with 1,452 formula installs over the preceding 365-day analytics window.

Related projects

  • NextDNS service
  • OpenWrt
  • UniFi/UDM
  • Asuswrt-Merlin
  • Firewalla
  • DNS-over-HTTPS

安全态势

风险级别:blue

broad file, network, media, or database tool signal.

风险分类器

blue 风险 · 中 置信度 · tool

原因

  • broad file, network, media, or database tool signal

信号

  • text:http

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 构建元数据列出 1 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

local files

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

Config paths the tool may read or write during local use.

Unix
/etc/nextdns.conf

可执行文件

已安装的可执行文件

命令类型暴露范围备注
nextdnscli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-25
管理器版本1.47.3
管理器更新时间2026-06-03
本地数据OK
上游当前
检测到的最新版本v1.47.3

https://github.com/nextdns/nextdns

  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:nextdns
版本1.47.3
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/nextdns
主页https://nextdns.io
仓库https://github.com/nextdns/nextdns
上游文档https://github.com/nextdns/nextdns/wiki
许可证MIT
源码归档https://github.com/nextdns/nextdns/archive/refs/tags/v1.47.3.tar.gz
最后更新2026-06-03T19:41:47Z
Pulseupdated
构建依赖go
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namenextdns
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Nix95%

nextdns

nix profile install nixpkgs#nextdns
  • normalized package name match
  • 匹配方式:Nextdns
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/ne/nextdns/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
MacPorts95%

nextdns

sudo port install nextdns
  • normalized package name match
  • 匹配方式:Nextdns
MacPorts ports tree · api.github.com · MacPorts ports tree: net/nextdns/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
Chocolatey95%

nextdns

choco install nextdns
  • normalized package name match
  • 匹配方式:Nextdns
Chocolatey community package catalog · community.chocolatey.org · Chocolatey community package catalog: nextdns from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','naps2'
Scoop95%

main/nextdns

scoop install main/nextdns
  • normalized package name match
  • 匹配方式:Nextdns
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/nextdns.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
winget95%

NextDNS.NextDNS

winget install --id NextDNS.NextDNS -e
  • normalized package name match
  • 匹配方式:Nextdns
Windows Package Manager source index · cdn.winget.microsoft.com · Windows Package Manager source index: NextDNS.NextDNS from https://cdn.winget.microsoft.com/cache/source.msix

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment