Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

34 lines (20 sloc) 0.756 kb


A plugin for Chef::Knife which will diff the cookbook versions of two or more environments.


Supply two or more environments to get a diff of their cookbook versions

% knife environment diff development production

diffing environment development against production

cookbook: hadoop
 development version: = 0.1.0
 production version: = 0.1.8

cookbook: mysql
 development version: = 0.2.4
 production version: = 0.2.5


Script install

Copy the knife-env-diff script from lib/chef/knife/env-diff.rb to your ~/.chef/plugins/knife directory.

Gem install

knife-env-diff is available on - if you have that source in your gemrc, you can simply use:

gem install knife-env-diff
Jump to Line
Something went wrong with that request. Please try again.