Skip to content

Commit

Permalink
Restore per OS install instruction in readme during installer beta
Browse files Browse the repository at this point in the history
  • Loading branch information
rs committed Jan 2, 2020
1 parent 4d48e52 commit 3bb0447
Showing 1 changed file with 40 additions and 6 deletions.
46 changes: 40 additions & 6 deletions README.md
Expand Up @@ -10,6 +10,7 @@ as a client for any DoH provider.
* Stub DNS53 to DoH proxy.
* Supports a vast number of platforms / OS / routers.
* Can run on single host or at router level.
* Auto router setup (integrate with many different router firmware)
* Multi upstream healthcheck / fallback.
* Conditional forwarder selection based on domain.
* Auto discovery and forwarding of LAN clients name and model.
Expand Down Expand Up @@ -40,24 +41,57 @@ First, optain a configration ID on [NextDNS](https://nextdns.io/).

### Install the daemon

Run the following command and follow the instructions:
#### RPM Based Distributions (RedHat, Fedora, Centos, …)

```
sh -c "$(curl -sL https://nextdns.io/install)
sudo curl -s https://nextdns.io/yum.repo -o /etc/yum.repos.d/nextdns.repo
sudo yum install -y nextdns
```

#### Deb Based Distributions (Debian, Ubuntu, …)

```
wget -qO - https://nextdns.io/repo.gpg | sudo apt-key add -
echo "deb https://nextdns.io/repo/deb stable main" | sudo tee /etc/apt/sources.list.d/nextdns.list
sudo apt install apt-transport-https # only necessary on Debian
sudo apt update
sudo apt install nextdns
```

#### Arch Linux (AUR)

```
sudo pacman -S yay
yay -S nextdns
```

If the command fails, try:
#### MacOS

Install [homebrew](https://brew.sh) first.

```
brew install nextdns/tap/nextdns
```

#### Source code

Install [Go](https://golang.org).

```
sh -c "$(curl -sL https://raw.githubusercontent.com/nextdns/nextdns/master/install.sh)"
go get -u github.com/nextdns/nextdns
go install github.com/nextdns/nextdns
```

or:
#### Installer (beta)

Run the following command and follow the instructions:

```
eval `wget -q -O - https://raw.githubusercontent.com/nextdns/nextdns/master/install.sh)"`
sh -c "$(curl -sL https://nextdns.io/install)
```

*Please report any issue to team@nextdns.io*

## Usage

The `nextdns` command is composed of sub commands:
Expand Down

0 comments on commit 3bb0447

Please sign in to comment.