2018-03-11 06:28:05 +00:00
|
|
|
# choco upgrade
|
|
|
|
|
|
|
|
> Upgrade one or more packages with Chocolatey.
|
2019-03-18 11:30:47 +00:00
|
|
|
> Homepage: <https://chocolatey.org/docs/commands-upgrade>.
|
2018-03-11 06:28:05 +00:00
|
|
|
|
|
|
|
- Upgrade one or more space-separated packages:
|
|
|
|
|
|
|
|
`choco upgrade {{package(s)}}`
|
|
|
|
|
|
|
|
- Upgrade to a specific version of a package:
|
|
|
|
|
|
|
|
`choco upgrade {{package}} --version {{version}}`
|
|
|
|
|
|
|
|
- Upgrade all packages:
|
|
|
|
|
|
|
|
`choco upgrade all`
|
|
|
|
|
|
|
|
- Upgrade all except specified comma-separated packages:
|
|
|
|
|
|
|
|
`choco upgrade all --except "{{package(s)}}"`
|
|
|
|
|
|
|
|
- Confirm all prompts automatically:
|
|
|
|
|
|
|
|
`choco upgrade {{package}} --yes`
|
|
|
|
|
|
|
|
- Specify a custom source to receive packages from:
|
|
|
|
|
|
|
|
`choco upgrade {{package}} --source {{source_url|alias}}`
|
|
|
|
|
|
|
|
- Provide a username and password for authentication:
|
|
|
|
|
|
|
|
`choco upgrade {{package}} --user {{username}} --password {{password}}`
|