2025-03-14 21:59:59 -06:00
|
|
|
# choco
|
|
|
|
|
|
|
|
|
|
> The Chocolatey package manager.
|
2025-12-16 10:20:31 -07:00
|
|
|
> Some subcommands such as `install`, `upgrade`, `pin` have their own usage documentation.
|
|
|
|
|
> More information: <https://docs.chocolatey.org/en-us/choco/commands/>.
|
2025-03-14 21:59:59 -06:00
|
|
|
|
2025-12-16 10:20:31 -07:00
|
|
|
- Install a package:
|
2025-03-14 21:59:59 -06:00
|
|
|
|
2025-12-16 10:20:31 -07:00
|
|
|
`choco install {{package_name}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
2025-12-16 10:20:31 -07:00
|
|
|
- Upgrade a specific installed package:
|
2025-03-14 21:59:59 -06:00
|
|
|
|
2025-12-16 10:20:31 -07:00
|
|
|
`choco upgrade {{package_name}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
2025-12-16 10:20:31 -07:00
|
|
|
- Upgrade all outdated packages and automatically confirm all prompts:
|
2025-03-14 21:59:59 -06:00
|
|
|
|
2025-12-16 10:20:31 -07:00
|
|
|
`choco upgrade all {{[-y|--yes]}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
2025-12-16 10:20:31 -07:00
|
|
|
- Uninstall a package and automatically confirm all prompts:
|
2025-03-14 21:59:59 -06:00
|
|
|
|
2025-12-16 10:20:31 -07:00
|
|
|
`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}}`
|