Information Technology Reference
In-Depth Information
Figure 2-8. Downloading Mac OS X Chef Client installer
The Chef Development Kit installer will automatically install Chef and Ruby in the
/opt/
chefdk/embedded
directory on your local machine. Neither of these directories are commonly
present in the default environment's
PATH
.
The Chef Development Kit includes a
chef shell-init
command to modify the current
shell environment to use these paths. Assuming you are using the Mac OS X default
bash
shell, run the following command to permanently enable this PATH setting.
Chef Development Kit installation:
$
echo 'eval "$(chef shell-init bash)"' >> ~/.bash_profile