mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-03 04:43:15 +00:00
25 lines
714 B
Plaintext
25 lines
714 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, windows]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# choco source
|
|
|
|
> Manage sources for packages with Chocolatey.
|
|
> More information: <https://docs.chocolatey.org/en-us/choco/commands/source/>.
|
|
|
|
- List currently available sources:
|
|
|
|
`choco source list`
|
|
|
|
- Add a new package source:
|
|
|
|
`choco source add {{[-n|--name]}} {{name}} {{[-s|--source]}} {{url}}`
|
|
|
|
- Add a new package source with credentials:
|
|
|
|
`choco source add {{[-n|--name]}} {{name}} {{[-s|--source]}} {{url}} {{[-u|--user]}} {{username}} {{[-p|--password]}} {{password}}`
|
|
|
|
- Add a new package source with a client certificate:
|
|
|
|
`choco source add {{[-n|--name]}} {{name}} {{[-s|--source]}} {{url}} --cert {{path o |