윈도우 choco config

1 개요[ | ]

choco config
C:\WINDOWS\system32>choco config
Chocolatey v0.10.8
Settings
cacheLocation =  | Cache location if not TEMP folder. Replaces `$env:TEMP` value.
containsLegacyPackageInstalls = true | Install has packages installed prior to 0.9.9 series.
commandExecutionTimeoutSeconds = 2700 | Default timeout for command execution. '0' for infinite (starting in 0.10.4).
proxy =  | Explicit proxy location. Available in 0.9.9.9+.
proxyUser =  | Optional proxy user. Available in 0.9.9.9+.
proxyPassword =  | Optional proxy password. Encrypted. Available in 0.9.9.9+.
webRequestTimeoutSeconds = 30 | Default timeout for web requests. Available in 0.9.10+.
proxyBypassList =  | Optional proxy bypass list. Comma separated. Available in 0.10.4+.
proxyBypassOnLocal = true | Bypass proxy for local connections. Available in 0.10.4+.

Sources
chocolatey - https://chocolatey.org/api/v2/ | Priority 0|Bypass Proxy - False|Self-Service - False|Admin Only - False.

NOTE: Use choco source to interact with sources.

Features
[x] checksumFiles - Checksum files when pulled in from internet (based on package).
[x] autoUninstaller - Uninstall from programs and features without requiring an explicit uninstall script.
[ ] allowGlobalConfirmation - Prompt for confirmation in scripts or bypass.
[ ] failOnAutoUninstaller - Fail if automatic uninstaller fails.
[ ] failOnStandardError - Fail if install provider writes to stderr. Available in 0.9.10+.
[ ] allowEmptyChecksums - Allow packages to have empty/missing checksums for downloaded resources from non-secure locations (HTTP, FTP). Enabling is not recommended if using sources that download resources from the internet. Available in 0.10.0+.
[x] allowEmptyChecksumsSecure - Allow packages to have empty/missing checksums for downloaded resources from secure locations (HTTPS). Available in 0.10.0+.
[x] powershellHost - Use Chocolatey's built-in PowerShell host. Available in 0.9.10+.
[ ] logEnvironmentValues - Log Environment Values - will log values of environment before and after install (could disclose sensitive data). Available in 0.9.10+.
[ ] virusCheck - Virus Check - perform virus checking on downloaded files. Available in 0.9.10+. Licensed versions only.
[ ] failOnInvalidOrMissingLicense - Fail On Invalid Or Missing License - allows knowing when a license is expired or not applied to a machine. Available in 0.9.10+.
[x] ignoreInvalidOptionsSwitches - Ignore Invalid Options/Switches - If a switch or option is passed that is not recognized, should choco fail? Available in 0.9.10+.
[x] usePackageExitCodes - Use Package Exit Codes - Package scripts can provide exit codes. With this on, package exit codes will be what choco uses for exit when non-zero (this value can come from a dependency package). Chocolatey defines valid exit codes as 0, 1605, 1614, 1641, 3010. With this feature off, choco will exit with a 0 or a 1 (matching previous behavior). Available in 0.9.10+.
[ ] useFipsCompliantChecksums - Use FIPS Compliant Checksums - Ensure checksumming done by choco uses FIPS compliant algorithms. Not recommended unless required by FIPS Mode. Enabling on an existing installation could have unintended consequences related to upgrades/uninstalls. Available in 0.9.10+.
[x] showNonElevatedWarnings - Show Non-Elevated Warnings - Display non-elevated warnings. Available in 0.10.4+.
[x] showDownloadProgress - Show Download Progress - Show download progress percentages in the CLI. Available in 0.10.4+.
[ ] stopOnFirstPackageFailure - Stop On First Package Failure - stop running install, upgrade or uninstall on first package failure instead of continuing with others. As this will affect upgrade all, it is normally recommended to leave this off. Available in 0.10.4+.
[ ] useRememberedArgumentsForUpgrades - Use Remembered Arguments For Upgrades - when running upgrades, use arguments for upgrade that were used for installation ('remembered'). This is helpful when running upgrade for all packages. Available in 0.10.4+. This is considered in preview for 0.10.4 and will be flipped to on by default in a future release.
[ ] scriptsCheckLastExitCode - Scripts Check $LastExitCode (external commands) - Leave this off unless you absolutely need it while you fix your package scripts  to use `throw 'error message'` or `Set-PowerShellExitCode #` instead of `exit #`. This behavior started in 0.9.10 and produced hard to find bugs. If the last external process exits successfully but with an exit code of not zero, this could cause hard to detect package failures. Available in 0.10.3+. Will be removed in 0.11.0.

NOTE: Use choco feature to interact with features.

API Keys
NOTE: Api Keys are not shown through this command.
 Use choco apikey to interact with API keys.

2 같이 보기[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}