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>
This commit is contained in:
Kishore B
2025-10-09 22:46:19 +05:30
committed by GitHub
parent 8399a9e924
commit 0823c4e0dd
+25 -9
View File
@@ -1,21 +1,37 @@
# choco
> The Chocolatey package manager.
> Some subcommands such as `install` have their own usage documentation.
> Some subcommands such as `install`, `upgrade`, `pin` have their own usage documentation.
> More information: <https://docs.chocolatey.org/en-us/choco/commands/>.
- Execute a Chocolatey command:
- Install a package:
`choco {{command}}`
`choco install {{package_name}}`
- Display help:
- Upgrade a specific installed package:
`choco {{[-h|--help]}}`
`choco upgrade {{package_name}}`
- Display help for a specific command:
- Upgrade all outdated packages and automatically confirm all prompts:
`choco {{command}} {{[-h|--help]}}`
`choco upgrade all {{[-y|--yes]}}`
- Display version:
- Uninstall a package and automatically confirm all prompts:
`choco --version`
`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}}`