Binary Installation
Quick Install (Recommended)
Use this command to automatically install Newt. It detects your system architecture automatically and always pulls the latest version, adding Newt to your PATH:Windows
If you would like to use Newt on Windows as a service or with clients, wintun.dll is sometimes required. Please use latest installer from GitHub releases.Manual Download
Binaries for Linux, macOS, and Windows are available in the GitHub releases for ARM and AMD64 (x86_64) architectures. Download and install manually:Replace
{version} with the desired version and {architecture} with your architecture. Check the release notes for the latest information.Running Newt
Run Newt with the configuration from Pangolin:Systemd Service
Create a basic systemd service:/etc/systemd/system/newt.service
Docker Installation
Pull the Image
Pull the latest Newt image from Docker Hub:Run with Docker
Run Newt with CLI arguments from Pangolin:Docker Compose
Environment Variables (Recommended)
docker-compose.yml
Config File Injected as Compose Secret
A safer but slightly more complex way is to use Compose Secrets. First, create aJSON file containing your configuration:
newt-config.secret
docker-compose.yml:
docker-compose.yml
docker-compose.yml anywhere else.
CLI Arguments
docker-compose.yml
Platform-Specific Installation
Unraid
Newt is available in the Unraid Community Applications store. Search for “Newt” and follow the installation prompts. Enter the ID, secret, and endpoint from Pangolin in the template fields.
Portainer and Other UIs
Container management UIs like Portainer typically allow passing commands and environment variables to containers similar to Docker Compose. Look for a commands or arguments configuration section and follow the relevant guides.Windows Service
On Windows, newt can to be installed and run as a Windows service to remain persistent.Service Management Commands
%PROGRAMDATA%\newt\newt-client\config.json.
Service Configuration
When running as a service, newt will read configuration from environment variables or you can modify the service to include command-line arguments:- Install the service:
newt.exe install - Set the credentials in
%PROGRAMDATA%\newt\newt-client\config.json. Hint: if you run newt once with —id and —secret this file will be populated! - Start the service:
newt.exe start
Service Logs
When running as a service, logs are written to:- Windows Event Log (Application log, source: “newtWireguardService”)
- Log files in:
%PROGRAMDATA%\newt\logs\newt.log

