mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-02 23:54:52 +00:00
Move pages under tldr, lint run.sh, update docs
This commit is contained in:
41
tldr/windows/choco-install
Normal file
41
tldr/windows/choco-install
Normal file
@@ -0,0 +1,41 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, windows]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# choco install
|
||||
|
||||
> Install one or more packages with Chocolatey.
|
||||
> More information: <https://chocolatey.org/docs/commands-install>.
|
||||
|
||||
- Install one or more packages:
|
||||
|
||||
`choco install {{package1 package2 ...}}`
|
||||
|
||||
- Install packages from a custom configuration file:
|
||||
|
||||
`choco install {{path o\packages_file.config}}`
|
||||
|
||||
- Install a specific `nuspec` or `nupkg` file:
|
||||
|
||||
`choco install {{path oile}}`
|
||||
|
||||
- Install a specific version of a package:
|
||||
|
||||
`choco install {{package}} --version {{version}}`
|
||||
|
||||
- Allow installing multiple versions of a package:
|
||||
|
||||
`choco install {{package}} --allow-multiple`
|
||||
|
||||
- Confirm all prompts automatically:
|
||||
|
||||
`choco install {{package}} --yes`
|
||||
|
||||
- Specify a custom source to receive packages from:
|
||||
|
||||
`choco install {{package}} --source {{source_url|alias}}`
|
||||
|
||||
- Provide a username and password for authentication:
|
||||
|
||||
`choco install {{package}} --user {{username}} --password {{password}}`
|
||||
Reference in New Issue
Block a user