Update cheatsheets

This commit is contained in:
ivuorinen
2025-10-10 00:19:31 +00:00
parent d4e4abca39
commit 4ccd905055
82 changed files with 557 additions and 148 deletions

View File

@@ -6,21 +6,37 @@ source: https://github.com/tldr-pages/tldr.git
# 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}}`