Adoptable Cookbooks List

Looking for a cookbook to adopt? You can now see a list of cookbooks available for adoption!
List of Adoptable Cookbooks

Supermarket Belongs to the Community

Supermarket belongs to the community. While Chef has the responsibility to keep it running and be stewards of its functionality, what it does and how it works is driven by the community. The chef/supermarket repository will continue to be where development of the Supermarket application takes place. Come be part of shaping the direction of Supermarket by opening issues and pull requests or by joining us on the Chef Mailing List.

Select Badges

Select Supported Platforms


chefdk_bootstrap (51) Versions 1.2.0

Bootstrap a developer workstation for local Chef development using the ChefDK

cookbook 'chefdk_bootstrap', '= 1.2.0'
cookbook 'chefdk_bootstrap', '= 1.2.0', :supermarket
knife supermarket install chefdk_bootstrap
knife supermarket download chefdk_bootstrap
Quality 0%


Setup your laptop for Chef development in minutes

Run one simple command to easily setup your Windows or Mac machine for Chef cookbook development in about 20 minutes.

Before You Begin

Quickstart Windows

Copy the PowerShell command below and paste them into a PowerShell Admin console. This will execute the bootstrap script on your workstation.

 (Invoke-WebRequest -Uri -ProxyUseDefaultCredentials -Proxy $env:https_proxy).Content | Invoke-Expression

Quickstart Mac

Copy the command below and paste it into a terminal. This will execute the bootstrap script on your workstation.

curl | bash

ChefDK profile setup

Follow the instructions in the ChefDK README to complete the Chef workstation setup.

If you are behind a proxy


Copy/paste these environment variables into your terminal.

# change these values to your proxy address
# don't go through the proxy for these addresses.

Now run the Quickstart for Windows


Copy/paste these environment variables into your terminal.

# change these values to your proxy address
export http_proxy=
export https_proxy=$http_proxy

To make these changes permanent, export these environment variables from your bash or zsh profile.

Now run the Quickstart for Mac


If you want to use your own custom wrapper cookbook, add the name of your cookbook and your private supermarket source to these commands instead of the original Quickstart (examples included below).


$install = (Invoke-WebRequest -Uri -ProxyUseDefaultCredentials -Proxy $env:https_proxy).Content

"$install <your cookbook name> <your private supermarket url>" | Invoke-Expression


curl | bash -s -- <your cookbook name> <your private supermarket url>

What does it do?

This cookbook installs these tools:


Atom, a free, general purpose, cross-platform, open source, text editor. Out of the box, Atom supports all the languages you will need for Chef development: Ruby, PowerShell, Bash, XML, JSON, etc.

Source Control

Git - command line git client and tools.

Local Virtualization

Virtualbox - Oracle's free, open source virtualization tool for local cookbook testing.

Vagrant - ChefDK's included Test Kitchen tool uses Vagrant to spin up local VMs for cookbook testing.



  • Installs Chocolatey for a Windows machine and homebrew for a Mac machine. Both of these are package managers, similar to apt-get on Ubuntu. Chocolatey is used to install packages like posh-git and kdiff3, while homebrew is used to install packages like iterm2.

  • Installs all the other tools marked true in the node['chefdk_bootstrap']['package'] hash.

  • On Windows, includes the Powershell profile configuration recipe.


  • Installs the Atom editor


  • Installs git.
  • On Windows, installs git-credential-winstore, and posh-git.


  • On Windows, installs gitextensions, a GUI git client.


  • On Windows, installs the free, open-source diff/merge tool, kdiff3.


  • Configures a global PowerShell profile to correct the $env:HOME environment variable and run chef shell-init powershell.


  • Installs Vagrant.


  • Installs Virtualbox.


  • On Mac, installs iterm2.


The attributes defined by this recipe are organized under the node['chefdk_bootstrap'] namespace.

Attribute Description Type Default
['atom']['source_url'] Windows: Atom installer package source URL URL String
['atom']['source_url'] Mac: Atom installer package source URL URL String
['package']['atom'] Whether to install Atom or not boolean true
['package']['kdiff3'] Whether to install kdiff3 or not boolean true
['package']['vagrant'] Whether to install Vagrant or not boolean true
['package']['virtualbox'] Whether to install Virtualbox or not boolean true
['package']['git'] Whether to install git and related packages or not boolean true
['package']['gitextensions'] Whether to install gitextensions or not boolean true
['package']['iterm2'] Whether to install iterm2 or not boolean true


Nordstrom, Inc.


Copyright 2015 Nordstrom, Inc.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Dependent cookbooks

homebrew ~> 1.13
git ~> 4.3
chocolatey ~> 0.4
windows ~> 1.37

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

Revision History for chefdk_bootstrap


  • Update bootstrap script to take a private source and cookbook name and add it to the Berksfile.
  • Update README.


  • Add guards around file deletions.


  • Edit README to clarify proxy instructions.


  • Add instructions for no_proxy environment variable in the README.


  • Set proxy environment variables in powershell_profile.
  • This enables command-line tools like git, curl, and Test Kitchen to work behind a proxy.


  • Fix bug in Atom setup for Windows


  • Edited the README to make the markdown for Chef Supermaket consistent.


  • Clarified Windows bootstrap instructions.


  • Added Mac bootstrap functionality.


  • Add ability to set http_proxy, https_proxy, and no_proxy env vars.

These env vars allow Chef related command line tools, e.g. git, berkshelf, to work via a web proxy.


  • Add proxy support to bootstrap script.


  • Update README
  • Add introduction to bootstrap script.
  • Add Atom source URL for Mac platform


  • Bootstrap script bug fixes


  • Add PowerShell bootstrap script


PuTTY is difficult to configure and outside the scope of what this cookbook is trying to do. Furthermore the Github for Windows client doesn't use PuTTY either.



  • Initial version

Foodcritic Metric

1.2.0 failed this metric

FC031: Cookbook without metadata file: /tmp/cook/c5be641410170e69c0ddff4e/chefdk_bootstrap/metadata.rb:1
FC045: Consider setting cookbook name in metadata: /tmp/cook/c5be641410170e69c0ddff4e/chefdk_bootstrap/metadata.rb:1