All notes
Choc

Installation

Some important installation logs:

Downloading https://chocolatey.org/api/v2/package/chocolatey/0.10.3 to C:\Users\me\AppData\Local\Temp\

Creating ChocolateyInstall as an environment variable (targeting 'Machine')
  Setting ChocolateyInstall to 'C:\ProgramData\chocolatey'

Restricting write permissions to Administrators

We are setting up the Chocolatey package repository.
The packages themselves go to 'C:\ProgramData\chocolatey\lib'
  (i.e. C:\ProgramData\chocolatey\lib\yourPackageName).
A shim file for the command line goes to 'C:\ProgramData\chocolatey\bin'
  and points to an executable in 'C:\ProgramData\chocolatey\lib\yourPackageName'.

chocolatey.nupkg file not installed in lib.
 Attempting to locate it from bootstrapper.

PATH environment variable does not have C:\ProgramData\chocolatey\bin in it. Adding...

Chocolatey (choco.exe) is now ready.
You can call choco from anywhere, command line or powershell by typing choco.

Run choco /? for a list of functions.

Ensuring chocolatey commands are on the path
Ensuring chocolatey.nupkg is in the lib folder

@powershell -NoProfile -ExecutionPolicy Bypass -Command "iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" && SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin"

choco /?

########## clist
# Same: choco list
# Search git.
clist git

# -l, --lo, --localonly, --local-only
clist git --local-only

# -e, --exact
clist -e conemu

########## cinst
choco install sysinternals

Commands

cup, update

github.com: choco: cup.


choco upgrade <pkg|all> [<pkg2> <pkgN>] [<options/switches>]
cup <pkg|all> [<pkg2> <pkgN>] [<options/switches>]

choco upgrade chocolatey
choco upgrade notepadplusplus googlechrome atom 7zip
choco upgrade notepadplusplus googlechrome atom 7zip -dvfy
choco upgrade git --params="'/GitAndUnixToolsOnPath /NoAutoCrlf'" -y
choco upgrade nodejs.install --version 0.10.35
choco upgrade git -s "'https://somewhere/out/there'"
choco upgrade git -s "'https://somewhere/protected'" -u user -p pass
choco upgrade all
choco upgrade all --except="'skype,conemu'"