# nextdns を Homebrew, chocolatey, MacPorts, Nix, scoop, winget でインストール

nextdns のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install brew:nextdns
```

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install nextdns
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install nextdns
```

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

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#nextdns
```

  証拠: nixpkgs package indexes: pkgs/by-name/ne/nextdns/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

### Windows

- Chocolatey (92%):

```sh
choco install nextdns
```

  証拠: Chocolatey community package catalog: nextdns from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','netfx-4.7.1-devpack'

- Scoop (92%):

```sh
scoop install main/nextdns
```

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

- winget (92%):

```sh
winget install --id NextDNS.NextDNS -e
```

  証拠: Windows Package Manager source index: NextDNS.NextDNS from https://cdn.winget.microsoft.com/cache/source.msix

## パッケージ情報

- **パッケージキー:** brew:nextdns
- **パッケージマネージャ:** Homebrew
- **バージョン:** 1.47.3
- **ソース概要:** CLI for NextDNS's DNS-over-HTTPS (DoH)
- **ホームページ:** <https://nextdns.io>
- **リポジトリ:** <https://github.com/nextdns/nextdns>
- **最終更新:** 2026-07-26T19:43:15+02:00
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- nextdns (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 1.47.3
## プロジェクトの歴史と使われ方

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

### ソース

- <https://formulae.brew.sh/api/formula/nextdns.json>
- <https://github.com/nextdns/nextdns>
- <https://github.com/nextdns/nextdns/wiki>
- <https://help.nextdns.io/t/y4hmv0n/who-is-behind-nextdns>
- <https://nextdns.io/>
- <https://nextdns.io/install>


## セキュリティノート

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

- **Geiger リスク:** blue / 中
- broad file, network, media, or database tool signal


## 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/nextdns.conf
## 他のパッケージマネージャ記録

- Nix - nextdns: normalized package name match | nixpkgs package indexes: pkgs/by-name/ne/nextdns/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- MacPorts - nextdns: normalized package name match | MacPorts ports tree: net/nextdns/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Chocolatey - nextdns: normalized package name match | Chocolatey community package catalog: nextdns from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','netfx-4.7.1-devpack'
- Scoop - main/nextdns: normalized package name match | Scoop official bucket manifest trees: bucket/nextdns.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
- winget - NextDNS.NextDNS: normalized package name match | Windows Package Manager source index: NextDNS.NextDNS from https://cdn.winget.microsoft.com/cache/source.msix


## Combined YAML source

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


## ソース

- 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
