mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-06-07 01:26:03 +02:00
choco-pin: add page (#2037)
* choco-pin: add page * choco-pin: update list example description
This commit is contained in:
parent
eeafea4b63
commit
75a071c250
1 changed files with 20 additions and 0 deletions
20
pages/windows/choco-pin.md
Normal file
20
pages/windows/choco-pin.md
Normal file
|
@ -0,0 +1,20 @@
|
|||
# choco pin
|
||||
|
||||
> Pin a package at a specific version with Chocolatey.
|
||||
> Pinned packages are skipped automatically when upgrading.
|
||||
|
||||
- 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}}`
|
Loading…
Add table
Reference in a new issue