choco pin
Pin a package at a specific version with Chocolatey. Pinned packages are skipped automatically when upgrading. More information: https://chocolatey.org/docs/commands-pin.
-
Display a list of pinned packages and their versions:
choco pin list
-
Pin a package at its current version:
choco pin add --name {{package}}
-
Pin a package at a specific version:
choco pin add --name {{package}} --version {{version}}
-
Remove a pin for a specific package:
choco pin remove --name {{package}}
License and Disclaimer
The content on this page is copyright © 2014—present the tldr-pages team and contributors.This page is used with permission under Creative Commons Attribution 4.0 International License.
While we do attempt to make sure content is accurate, there isn't a warranty of any kind.