Skip to content

Alpine Linux Based Distribution

Olivier Poitrey edited this page Jan 25, 2023 · 2 revisions

Using Installer

Install

  1. Run the following command: sh -c "$(wget -O- https://nextdns.io/install)"
  2. Follow the instructions.

Upgrade

Upgrades are handled by your distribution package manager.

Troubleshooting

If the installation fail, please the installer in debug mode and contact us at team@nextdns.io with the transcript of the installation:

DEBUG=1 sh -c "$(wget -O- https://nextdns.io/install)"

Manual Install

  1. Install the binary:
sudo wget -O /etc/apk/keys/nextdns.pub https://repo.nextdns.io/nextdns.pub
echo https://repo.nextdns.io/apk | sudo tee /etc/apk/repositories >/dev/null
sudo apk update
sudo apk add nextdns
  1. Configure it:

For a workstation:

sudo nextdns install \
  -profile <your profile id> \
  -report-client-info \
  -auto-activate

For a router/server:

sudo nextdns install \
  -config <your config id> \
  -report-client-info \
  -setup-router