Top Banner
Mmmm, Chocolatey Goodness! Gary Ewan Park [email protected] Twitter: @gep13 Blog: http:// www.gep13.co.uk/blog
23

Mmmm, chocolatey goodness!

Jan 13, 2015

Download

Technology

Gary Park

On Thursday 28th March 2013, I presented a talk at the Aberdeen Developers .Net User Group entitled “Mmmm, Chocolatey Goodness!”.
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Mmmm, chocolatey goodness!

Mmmm, Chocolatey Goodness!

Gary Ewan [email protected]: @gep13Blog: http://www.gep13.co.uk/blog

Page 2: Mmmm, chocolatey goodness!

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?

Page 3: Mmmm, chocolatey goodness!

Source Code

http://gep13.me/ChocolateyDemos

http://gep13.me/ChocolateyPackages

Page 4: Mmmm, chocolatey goodness!

What is Chocolatey?

Page 5: Mmmm, chocolatey goodness!

A Definition…

“Chocolatey NuGet is a Machine Package Manager, somewhat like apt-get, but built with Windows in mind.” *

Reference http://chocolatey.org/

Page 6: Mmmm, chocolatey goodness!

Why would you want to use Chocolatey?

Page 7: Mmmm, chocolatey goodness!

Who here uses Nuget?

Page 8: Mmmm, chocolatey goodness!

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

Page 9: Mmmm, chocolatey goodness!

How do you install Chocolatey?

Page 10: Mmmm, chocolatey goodness!

Easily…

Reference http://chocolatey.org/

It one single command executed at the command line.

Page 11: Mmmm, chocolatey goodness!

Demo 1

Installing Chocolatey

Page 12: Mmmm, chocolatey goodness!

How can you install packages using

Chocolatey?

Page 13: Mmmm, chocolatey goodness!

Again, very easily…

Reference https://github.com/chocolatey/chocolatey/wiki/CommandsInstall

It one single command executed at the command line.

Page 14: Mmmm, chocolatey goodness!

Wait, what about uninstalling…

Reference https://github.com/chocolatey/chocolatey/wiki/CommandsUninstall

It one single command executed at the command line.

Page 15: Mmmm, chocolatey goodness!

Demo 2

Installing Packages

Page 16: Mmmm, chocolatey goodness!

How can you update a package using

Chocolatey?

Page 17: Mmmm, chocolatey goodness!

Another one liner…

Reference https://github.com/chocolatey/chocolatey/wiki/CommandsUpdate

It one single command executed at the command line.

Page 18: Mmmm, chocolatey goodness!

Demo 3

Updating Packages

Page 19: Mmmm, chocolatey goodness!

How can you create you own Chocolatey

package?

Page 20: Mmmm, chocolatey goodness!

Demo 4

Creating your own Chocolatey Package

Page 21: Mmmm, chocolatey goodness!

How can you use Chocolatey in

practice?

Page 22: Mmmm, chocolatey goodness!

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.

Page 23: Mmmm, chocolatey goodness!

Questions?

Feel free to email me any additional questions at

[email protected]