Automic VaultAutomic Vault

brew

Install nextdns with Homebrew, chocolatey, MacPorts, Nix, scoop, winget

CLI for NextDNS's DNS-over-HTTPS (DoH). Version 1.47.3 via Homebrew; verified 2026-06-03.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install nextdns

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install nextdns

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

Linux

Nixverified · 92%
nix profile install nixpkgs#nextdns

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

Windows

Chocolateyverified · 92%
choco install nextdns

Chocolatey community package catalog · nextdns · source: community.chocolatey.org

Scoopverified · 92%
scoop install main/nextdns

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

Windows Package Managerverified · 92%
winget install --id NextDNS.NextDNS -e

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

overview

Package summary

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

Commands and aliases

  • nextdns

history

Project history and usage

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.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

  • 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

security posture

Risk level: blue

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

Risk classifier

blue risk · medium confidence · tool

Why

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

Signals

  • text:http

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Build metadata lists 1 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

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

executables

Installed executables

CommandKindExposureNote
nextdnscliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-08
manager version1.47.3
manager updated2026-06-03
local dataok
upstreamcurrent
latest detectedv1.47.3

https://github.com/nextdns/nextdns

  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:nextdns
Version1.47.3
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/nextdns
Homepagehttps://nextdns.io
Repositoryhttps://github.com/nextdns/nextdns
Upstream docshttps://github.com/nextdns/nextdns/wiki
LicenseMIT
Source archivehttps://github.com/nextdns/nextdns/archive/refs/tags/v1.47.3.tar.gz
Last updated2026-06-03T19:41:47Z
Pulseupdated
Build dependenciesgo
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

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

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Nix95%

nextdns

nix profile install nixpkgs#nextdns
  • normalized package name match
  • Matched by: 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
  • Matched by: 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
  • Matched by: 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
  • Matched by: 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
  • Matched by: 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

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • 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