NetBird Chocolatey package
Description
This is a definition for the NetBird Chocolatey package. The package can be found in Chocolatey package registry: https://community.chocolatey.org/packages/netbird
Deployment Method: Individual Install, Upgrade, & Uninstall
Install
To install NetBird, run the following command from the command line or PowerShell:
choco install netbird
Upgrade
To upgrade NetBird package to the latest available package version, run the following command from the command line or PowerShell:
choco upgrade netbird
Uninstall
To uninstall NetBird, run the following command from the command line or PowerShell:
choco uninstall netbird
Winget Package
This repository also includes automated workflows to publish NetBird to the Windows Package Manager (Winget) repository.
Setup Requirements
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
Workflow Triggers
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
How it Works
- 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
Manual Publishing
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)
Installation via Winget
Once published, users can install NetBird using:
winget install netbirdio.netbird