Navigate to the Cookbooks Directory on the Supermarket website. Search for your desired cookbook (e.g., nginx or apache2).
: This method helps track changes and merges upstream updates while preserving your local modifications. Alternative Tools for Dependency Management how to download cookbook from chef supermarket
: To get a specific version, append it to the command: knife supermarket download mysql 11.1.10 . Navigate to the Cookbooks Directory on the Supermarket
: A newer approach that locks cookbook versions into a single document, ensuring consistent environments. Direct Manual Download Alternative Tools for Dependency Management : To get
The most direct way to interact with the Chef Supermarket is through the utility included in Chef Workstation.
Alternatively, use wget for a direct API download: wget -qO- https://supermarket.chef.io/cookbooks/ /download | tar xvz Requirement Quick one-off retrieval of a tarball Chef Workstation knife install Integrating a cookbook into a git-based repo Chef Workstation Berkshelf Managing multiple cookbooks with dependencies Chef Workstation Manual/wget Environments without Chef tools installed Browser or wget / curl rb file to point to a private Supermarket instance? knife supermarket - Chef Documentation
If you do not have Chef tools installed, you can still download cookbooks via a web browser or simple CLI tools: