mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-13 00:59:11 +00:00
Move pages under tldr, lint run.sh, update docs
This commit is contained in:
26
tldr/windows/choco-pin
Normal file
26
tldr/windows/choco-pin
Normal file
@@ -0,0 +1,26 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, windows]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# 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>.
|
||||
|
||||
- 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}}`
|
||||
Reference in New Issue
Block a user