Mmmm, Chocolatey Goodness!
Gary Ewan [email protected]: @gep13Blog: http://www.gep13.co.uk/blog
Agenda
• What is Chocolatey?• Why would you want to use Chocolatey?• How do you install Chocolatey?• How can you install packages using Chocolatey?• How can you update a package using Chocolatey?• How can you create you own Chocolatey package?• How can you use Chocolatey in practice?
Source Code
http://gep13.me/ChocolateyDemos
http://gep13.me/ChocolateyPackages
What is Chocolatey?
A Definition…
“Chocolatey NuGet is a Machine Package Manager, somewhat like apt-get, but built with Windows in mind.” *
Reference http://chocolatey.org/
Why would you want to use Chocolatey?
Who here uses Nuget?
Why do we use Nuget?
• Easily add/remove/update external dependencies • Automatic dependency conflict resolution • Multiple sources/feeds of packages • Update checks if it’s already updated first• Distribute content as well as binaries • Compressed builds • Easier to publish builds of our own packages• Simplified updating of all references • Because it’s what all the cool kids are using
How do you install Chocolatey?
Easily…
Reference http://chocolatey.org/
It one single command executed at the command line.
Demo 1
Installing Chocolatey
How can you install packages using
Chocolatey?
Again, very easily…
Reference https://github.com/chocolatey/chocolatey/wiki/CommandsInstall
It one single command executed at the command line.
Wait, what about uninstalling…
Reference https://github.com/chocolatey/chocolatey/wiki/CommandsUninstall
It one single command executed at the command line.
Demo 2
Installing Packages
How can you update a package using
Chocolatey?
Another one liner…
Reference https://github.com/chocolatey/chocolatey/wiki/CommandsUpdate
It one single command executed at the command line.
Demo 3
Updating Packages
How can you create you own Chocolatey
package?
Demo 4
Creating your own Chocolatey Package
How can you use Chocolatey in
practice?
Another one liner…
Reference https://github.com/chocolatey/chocolatey/wiki/DevelopmentEnvironmentSetup https://gist.github.com/ferventcoder/3825023
It one single command executed at the command line.
Questions?
Feel free to email me any additional questions at
Top Related