Netbird Installer

November 24, 2022 ยท View on GitHub

This shell script will install the Netbird Client.

This has only currently been tested on Debian 11 (Bullseye) although, it should work on any linux & darwin based system

You can pass the shell script arguments to allow it to do more things automaticly.

ShorthandLonghandDefaultDescription
-h--helpShow Help
-ia--install-apptrueInstall Netbird Binary
-iui--install-uifalseInstall Netbird UI Binary
-iv--install-versionlatestTarget Install Version
-d--dockerfalseInstall Netbird in Docker
-ns--no-servicefalseDon't install and start service
-np--no-preconfigurefalseDon't preconfigure Netbird
-b--base-urlhttps://github.com/netbirdio/netbird/releases/downloadBase URL for binary downloads (Allows script to be used in Air-Gapped Systems)
-m--management-urlhttps://api.wiretrustee.com:33073Management URL (Defaults to Netbird SaaS)
-sk--setup-keySetup Key
-q--quietfalseDon't prompt to confirm install
-dn--docker-namenetbirdSet Docker Container Name
-dh--docker-hostnamehostnameSet Docker Hostname

Setup

To do a fully automated install you could run the following (substituting your own setup key):

curl -OLs https://raw.githubusercontent.com/physk/netbird-installer/main/install.sh && sudo bash install.sh --quiet --install-ui --setup-key=77C9F991-DC68-46FA-B06C-E02FC102697F

images/screenshot.png