Guest User

Untitled

a guest
Dec 3rd, 2017
379
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.50 KB | None | 0 0
  1. C:>cup all -h
  2. Chocolatey v0.9.9.8
  3. Upgrade Command
  4.  
  5. Upgrades a package or a list of packages. Some may prefer to use `cup`
  6. as a shortcut for `choco upgrade`.
  7.  
  8. Usage
  9.  
  10. choco upgrade <pkg|all> [<pkg2> <pkgN>] [<options/switches>]
  11. cup <pkg|all> [<pkg2> <pkgN>] [<options/switches>]
  12.  
  13. NOTE: `all` is a special package keyword that will allow you to upgrade
  14. all currently installed packages.
  15.  
  16. Examples
  17.  
  18. choco upgrade chocolatey
  19. choco upgrade notepadplusplus googlechrome atom 7zip
  20. choco upgrade notepadplusplus googlechrome atom 7zip -dvfy
  21. choco upgrade git --params="/GitAndUnixToolsOnPath /NoAutoCrlf" -y
  22. choco upgrade nodejs.install --version 0.10.35
  23. choco upgrade git -s "https://somewhere/out/there"
  24. choco upgrade git -s "https://somewhere/protected" -u user -p pass
  25.  
  26. Options and Switches
  27.  
  28. NOTE: Options and switches apply to all items passed, so if you are
  29. installing multiple packages, and you use `--version=1.0.0`, it is
  30. going to look for and try to install version 1.0.0 of every package
  31. passed. So please split out multiple package calls when wanting to
  32. pass specific options.
  33.  
  34.  
  35. -?, --help, -h
  36. Prints out the help menu.
  37.  
  38. -d, --debug
  39. Debug - Run in Debug Mode.
  40.  
  41. -v, --verbose
  42. Verbose - See verbose messaging.
  43.  
  44. --acceptlicense, --accept-license
  45. AcceptLicense - Accept license dialogs automatically.
  46.  
  47. -y, --yes, --confirm
  48. Confirm all prompts - Chooses affirmative answer instead of prompting.
  49. Implies --accept-license
  50.  
  51. -f, --force
  52. Force - force the behavior
  53.  
  54. --noop, --whatif, --what-if
  55. NoOp - Don't actually do anything.
  56.  
  57. -r, --limitoutput, --limit-output
  58. LimitOutput - Limit the output to essential information
  59.  
  60. --execution-timeout=VALUE
  61. CommandExecutionTimeoutSeconds - Override the default execution timeout
  62. in the configuration of 2700 seconds.
  63.  
  64. -c, --cache, --cachelocation, --cache-location=VALUE
  65. CacheLocation - Location for download cache, defaults to %TEMP% or value
  66. in chocolatey.config file.
  67.  
  68. --allowunofficial, --allow-unofficial, --allowunofficialbuild, --allow-unofficial-build
  69. AllowUnofficialBuild - When not using the official build you must set
  70. this flag for choco to continue.
  71.  
  72. -s, --source=VALUE
  73. Source - The source to find the package(s) to install. Special sources
  74. include: ruby, webpi, cygwin, windowsfeatures, and python. Defaults to
  75. default feeds.
  76.  
  77. --version=VALUE
  78. Version - A specific version to install. Defaults to unspecified.
  79.  
  80. --pre, --prerelease
  81. Prerelease - Include Prereleases? Defaults to false.
  82.  
  83. --x86, --forcex86
  84. ForceX86 - Force x86 (32bit) installation on 64 bit systems. Defaults to
  85. false.
  86.  
  87. --ia, --installargs, --installarguments, --install-arguments=VALUE
  88. InstallArguments - Install Arguments to pass to the native installer in
  89. the package. Defaults to unspecified.
  90.  
  91. -o, --override, --overrideargs, --overridearguments, --override-arguments
  92. OverrideArguments - Should install arguments be used exclusively without
  93. appending to current package passed arguments? Defaults to false.
  94.  
  95. --notsilent, --not-silent
  96. NotSilent - Do not install this silently. Defaults to false.
  97.  
  98. --params, --parameters, --pkgparameters, --packageparameters, --package-parameters=VALUE
  99. PackageParameters - Parameters to pass to the package. Defaults to
  100. unspecified.
  101.  
  102. -m, --sxs, --sidebyside, --side-by-side, --allowmultiple, --allow-multiple, --allowmultipleversions, --allow-multiple-versions
  103. AllowMultipleVersions - Should multiple versions of a package be
  104. installed? Defaults to false.
  105.  
  106. -i, --ignoredependencies, --ignore-dependencies
  107. IgnoreDependencies - Ignore dependencies when upgrading package(s).
  108. Defaults to false.
  109.  
  110. -n, --skippowershell, --skip-powershell
  111. Skip Powershell - Do not run chocolateyInstall.ps1. Defaults to false.
  112.  
  113. --failonunfound, --fail-on-unfound
  114. Fail On Unfound Packages - If a package is not found in feeds specified,
  115. fail instead of warn.
  116.  
  117. --failonnotinstalled, --fail-on-not-installed
  118. Fail On Non-installed Packages - If a package is not already intalled,
  119. fail instead of installing.
  120.  
  121. -u, --user=VALUE
  122. User - used with authenticated feeds. Defaults to empty.
  123.  
  124. -p, --password=VALUE
  125. Password - the user's password to the source. Defaults to empty.
  126.  
  127. choco pin [list]|add|remove [<options/switches>]
  128.  
  129. choco pin
  130. choco pin list
  131. choco pin add -n=git
  132. choco pin add -n=git --version 1.2.3
  133. choco pin remove --name git
Add Comment
Please, Sign In to add comment