Install Chef Workstation tools
Install packages
Follow these instructions to install or upgrade each tool.
Supported platforms
The Chef Workstation 26 RC3 tools are supported on Linux x86-64 systems.
Prerequisites
We use Chef Habitat to distribute and install these applications. For more information, see the Chef Habitat documentation.
If you don’t have Chef Habitat installed on your computer, follow these steps:
Download and install Chef Habitat:
curl https://raw.githubusercontent.com/habitat-sh/habitat/main/components/hab/install.sh | sudo bash -s -- -c stableVerify Chef Habitat is installed.
hab --version
Berkshelf
To install Berkshelf, follow these steps:
Install the
chef/berkshelfpackage usinghab pkg install:sudo hab pkg install chef/berkshelf --channel unstable --binlink --forceVerify that the correct version runs:
berks -v
chef-cli
To install the chef-cli CLI, follow these steps:
Install the
chef/chef-clipackage usinghab pkg install:sudo hab pkg install chef/chef-cli --channel unstable --binlink --forceVerify that the correct version runs:
chef-cli -v
Chef Infra Client
To install Chef Infra Client, see the Chef Infra Client install documentation or follow these steps:
Install the
chef/chef-infra-clientpackage usinghab pkg install:sudo hab pkg install chef/chef-infra-client --channel unstable --binlink --forceVerify that the correct version runs:
chef-client -v
Chef Test Kitchen Enterprise
To install Chef Test Kitchen Enterprise, see the Test Kitchen Enterprise install documentation or follow these steps:
Install the
chef/chef-test-kitchen-enterprisepackage usinghab pkg install:sudo hab pkg install chef/chef-test-kitchen-enterprise --channel unstable --binlink --forceVerify that the correct version runs:
chef-client -v
Chef Vault
To install Chef Vault, follow these steps:
Install the
chef/chef-vaultpackage usinghab pkg install:sudo hab pkg install chef/chef-vault --channel unstable --binlink --forceVerify that the correct version runs:
chef-vault <args>
Cookstyle
To install Cookstyle, follow these steps:
Install the
chef/cookstylepackage usinghab pkg install:sudo hab pkg install chef/cookstyle --channel unstable --binlink --forceVerify that the correct version runs:
cookstyle -v
Fauxhai
To install Fauxhai, follow these steps:
Install the
chef/fauxhaipackage usinghab pkg install:sudo hab pkg install chef/fauxhai --channel unstable --binlink --forceVerify that the correct version runs:
fauxhai -v
Ohai
To install Ohai, follow these steps:
Install the
chef/ohaipackage usinghab pkg install:sudo hab pkg install chef/ohai --channel unstable --binlink --forceVerify that the correct version runs:
ohai -v