Files
tldr/pages/windows/choco.md
T
Kishore B 0823c4e0dd choco: update page (#18578)
* updated-choco.md

* reduced the command description size

* added description about sub commands and examples updated with -y longform version

* bot error cleared

* corrected the description mistakes

* addes [] for optional terms

* updated the 3 words

* Update pages/windows/choco.md

Co-authored-by: Lena Pastwa <126529524+acuteenvy@users.noreply.github.com>

* Update pages/windows/choco.md

Co-authored-by: Lena Pastwa <126529524+acuteenvy@users.noreply.github.com>

* Update pages/windows/choco.md

Co-authored-by: Lena Pastwa <126529524+acuteenvy@users.noreply.github.com>

* Update pages/windows/choco.md

Co-authored-by: Lena Pastwa <126529524+acuteenvy@users.noreply.github.com>

* Update pages/windows/choco.md

Co-authored-by: Dylan <145150333+dmmqz@users.noreply.github.com>

* Update choco.md

* removed -l and --list

Co-authored-by: Nelson Figueroa <30811275+nelsonfigueroa@users.noreply.github.com>

* changed 'local' -> 'specific'

Co-authored-by: Dylan <145150333+dmmqz@users.noreply.github.com>

---------

Co-authored-by: Lena Pastwa <126529524+acuteenvy@users.noreply.github.com>
Co-authored-by: Dylan <145150333+dmmqz@users.noreply.github.com>
Co-authored-by: Nelson Figueroa <30811275+nelsonfigueroa@users.noreply.github.com>
2025-10-09 10:16:19 -07:00

868 B

choco

The Chocolatey package manager. Some subcommands such as install, upgrade, pin have their own usage documentation. More information: https://docs.chocolatey.org/en-us/choco/commands/.

  • Install a package:

choco install {{package_name}}

  • Upgrade a specific installed package:

choco upgrade {{package_name}}

  • Upgrade all outdated packages and automatically confirm all prompts:

choco upgrade all {{[-y|--yes]}}

  • Uninstall a package and automatically confirm all prompts:

choco uninstall {{package_name}} {{[-y|--yes]}}

  • Search for packages by name or keyword:

choco search {{query}}

  • List all packages installed on the machine:

choco list

  • Show packages that have newer versions available:

choco outdated

  • Install a package from a specific source:

choco install {{package_name}} {{[-s|--source]}} {{source}}