Skip to main content

 

December Chocolatey Month banner; Alfred, a cat and community mascotte, is wearing a Christmas hat and licking a Chocolate bar with the Chocolatey logo on it. On the background pine trees are draw, a green heart and some festive swirls.

 

How do you pin a package so that Chocolatey won't upgrade it?

 

a) choco freeze <packagename>
b) choco pin add -n=<packagename> 
c) choco pin <packagename>
d) choco lock <packagename>

 

Submissions should be in a spoiler and accepted until December 13th 10:45 CET

Screenshot of the Comment box where you can find the spoiler option. Last icon on the right (More) and then lowest option (Spoiler)

 

More info and rules:

 

  1. :)

 


 


b) choco pin add -n=<packagename> 

 


b) choco pin add -n=<packagename> 

 


b) choco pin add -n=<packagename>

 


c) choco pin <packagename>

 


b) choco pin add -n=<packagename> 

 


b) choco pin add -n=<packagename> 

 


b) choco pin add -n

 


b) choco pin add -n=<packagename> 

 


b) choco pin add -n=<packagename> 

 


B, using choco pin add, such as:

choco pin add --name “’powershell-preview’” --version=”’7.2.4.20210411’”

 


b) Is the correct answer.

See: https://docs.chocolatey.org/en-us/choco/commands/pin 


Comment