choco pin

Pin a package at a version with Chocolatey. Pinned packages are skipped automatically when upgrading. More information: https://chocolatey.org/docs/commands-pin.

choco pin list

choco pin add --name {{package}}

choco pin add --name {{package}} --version {{version}}

choco pin remove --name {{package}}