This project is archived because i switched to winget
Generate empty package template
choco new packageName
Build and install package from .nuspec file
choco install -fdv C:\PATH\to\.nuspec
Build the package
# run in package directory
choco pack
Test the package
# run in package directory
choco install packageName -dv -s .
Push package to cocolatey community feed
choco apikey --key your-api-key --source https://push.chocolatey.org/
choco push MyPackage.1.0.nupkg --source https://push.chocolatey.org/