Step 1. Install Berkshelf
gem install berkshelf
# optional
rbenv rehash
Step 2. Download and install Vagrant
Step 3. Go to vagrantbox.es and choose required box.
Step 4. Add Vagrant box
vagrant box add opscode-ubuntu-10.04 http://opscode-vagrant-boxes.s3.amazonaws.com/ubuntu10.04-gems.box
Step 5. Download and install VirtualBox
Research VMWare option later
Step 6. Install Vagrant Berkshelf plugin (to provision boxes using Chef + Berkshelf)
vagrant plugin install vagrant-berkshelf
Step 7. Generate fresh Chef cookbook with Chef / Berkshelf / Vagrant support
berks cookbook <app-name>
Doing more...
Step 8. Use Foodcritic - a lint tool for your Opscode Chef cookbooks.
or adjust Step 7:
berks cookbook <app-name> --foodcritic
Sources: Berkshelf official docs, Vagrant official docs