Chocolatey Packages Library
iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
Note: If you receive an error about "Could not create SSL/TLS secure channel." Then use the following:
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
Compiling a nupkg
cd $nuspecPath
choco pack $nuspecFile
Publishing
choco push --source "https://chocolatey.org/" -apikey "'$($env:ChocoApiKey)'"