This is a Chocolatey Community Package repository for packaging & distributing anomalyco/opencode on Windows
This package runs a github action every 30 minutes to check if anomalyco/opencode has a new release. If so, the release is downloaded, packaged, tested & published to Chocolatey.
# Update package to latest version (fetches checksums automatically) .\update.ps1 # Check for updates without applying them .\update.ps1 -CheckOnly # Build the package choco pack # Test installation locally (while downloading dependencies from chocolatey) choco install opencode -dy --source="'.,https://community.chocolatey.org/api/v2/'" # Test the installed application opencode --version # Test uninstallation choco uninstall opencode -dvy # Run test suite .\test-package.ps1 -Verbose # Release a version manually .\release.ps1 -Version "x.y.zz"
# Set API key (get from https://community.chocolatey.org/account) choco apikey -k YOUR_API_KEY_HERE -s https://push.chocolatey.org/ # Push the package choco push opencode.X.X.X.nupkg -s https://push.chocolatey.org/
Please feel free to contribute to this repo! I do not have much experience with writing Chocolatey packages, PowerShell scripting or release management. Almost 100% of this repo was built with auspices of Sonnet 4 in opencode & AmpCode.
You can also leave feedback for this package in the comments section of the package