This is a definition for the NetBird Chocolatey package. The package can be found in Chocolatey package registry: https://community.chocolatey.org/packages/netbird
To install NetBird, run the following command from the command line or PowerShell:
choco install netbird
To upgrade NetBird package to the latest available package version, run the following command from the command line or PowerShell:
choco upgrade netbird
To uninstall NetBird, run the following command from the command line or PowerShell:
choco uninstall netbird
This repository also includes automated workflows to publish NetBird to the Windows Package Manager (Winget) repository.
To enable automatic Winget package publishing, you need to configure the following:
- GitHub Personal Access Token (PAT): Create a PAT with the
reposcope to authenticate submissions to the Winget repository - Repository Secret: Add the PAT as a repository secret named
WINGET_PAT
The Winget publishing workflow (publish-winget.yml) is triggered by:
- Automatic: When a new release is published in the NetBird repository
- Manual: Via workflow dispatch with a specific version input
- The workflow detects new NetBird releases
- Downloads the latest
wingetcreatetool - Extracts version information and MSI installer URL
- Uses
wingetcreateto update the Winget manifest - Automatically submits a pull request to the Windows Package Manager Community Repository
You can manually trigger the Winget publishing workflow by:
- Going to the "Actions" tab in GitHub
- Selecting "Publish Netbird to Winget" workflow
- Clicking "Run workflow"
- Entering the desired NetBird version (e.g.,
0.59.7)
Once published, users can install NetBird using:
winget install netbirdio.netbird