Installation
- Install Script (Recommended)
- Homebrew
- Manual PKG Installer
The easiest way to install NetBird on macOS:This script:
- Downloads the official NetBird
.pkginstaller - Installs both the CLI and menu bar app
- Sets up the NetBird daemon service
- Works on both Intel (amd64) and Apple Silicon (arm64) Macs
Initial Setup
After installation, you can connect to NetBird using either the menu bar app or the command line.Using the Menu Bar App
1
Launch NetBird UI
- Open NetBird UI from your Applications folder
- The NetBird icon will appear in your menu bar
2
Connect to your network
- Click the NetBird icon in the menu bar
- Click Connect
- Sign in with your SSO provider or use a setup key
3
Verify connection
The menu bar icon will show a connected state, and you can view:
- Your NetBird IP address
- Connected peers
- Network statistics
Using the Command Line
1
Start the NetBird service
2
Connect to NetBird
Using SSO (Interactive Login):Using a Setup Key:For self-hosted installations:
3
Check status
Service Management
Manage the NetBird daemon service:Configuration
Config File Location
The NetBird configuration is stored at:Log Files
Logs are written to:Environment Variables
Configure NetBird using environment variables with theNB_ prefix:
Set service environment variables:
Command-Line Options
Key CLI flags fornetbird up:
On macOS, the WireGuard interface name must start with the
utun prefix (e.g., utun100, utun199). The default is determined by macOS automatically.macOS-Specific Features
Network Monitor
NetBird on macOS has network monitoring enabled by default to handle network changes (Wi-Fi switching, VPN connections, etc.). To disable:System Preferences Integration
After installation, you may need to grant permissions:- System Preferences → Privacy & Security
- Allow NetBird to create network connections
- Grant Full Disk Access if requested (for logging)
Menu Bar App Location
The NetBird UI is installed to:Advanced Configuration
Running in Foreground Mode
For debugging or testing:Custom External IP Mapping
For complex network setups:Disable Auto-Connect
Prevent NetBird from connecting automatically when the service starts:netbird up each time.
Troubleshooting
Check Connection Status
Common Issues
Interface name errors
Interface name errors
On macOS, interface names must use the
utun prefix:Permission denied errors
Permission denied errors
Grant necessary permissions in System Preferences:
- Go to System Preferences → Privacy & Security
- Allow NetBird in Full Disk Access (if needed)
- Allow NetBird to create network connections
Connection timeout
Connection timeout
Check your firewall settings:Enable debug logging:
Already installed warning
Already installed warning
If you see “NetBird is already installed,” first uninstall:
Updating NetBird
Using the Install Script
Using Homebrew
If installed via Homebrew:Uninstalling
1
Stop and uninstall the service
2
Remove the applications
3
Remove package receipt