mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-07-23 16:15:33 +02:00
choco-install: add page (#2017)
This commit is contained in:
parent
7c9f40119c
commit
acfa468793
1 changed files with 35 additions and 0 deletions
35
pages/windows/choco-install.md
Normal file
35
pages/windows/choco-install.md
Normal file
|
@ -0,0 +1,35 @@
|
|||
# choco install
|
||||
|
||||
> Install one or more packages with Chocolatey.
|
||||
|
||||
- Install one or more space-separated packages:
|
||||
|
||||
`choco install {{package(s)}}`
|
||||
|
||||
- Install packages from a custom configuration file:
|
||||
|
||||
`choco install {{path/to/packages.config}}`
|
||||
|
||||
- Install a specific "nuspec" or "nupkg" file:
|
||||
|
||||
`choco install {{path/to/file}}`
|
||||
|
||||
- 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}}`
|
Loading…
Add table
Reference in a new issue