Install individual Chef Workstation components
Chef Workstation includes tools that you can install individually with Chef Habitat. If you only need specific tools rather than the full Workstation package, you can install them as standalone applications.
Prerequisites
Install individual components
To install a Chef Workstation component, follow these steps:
Install a package using
hab pkg install:hab pkg install <PACKAGE_IDENT> --binlink --forceReplace
<PACKAGE_IDENT>with the package identifier:chef/berkshelfchef/chef-clichef/chef-infra-clientchef/chef-test-kitchen-enterprisechef/chef-vaultchef/cookstylechef/fauxhaichef/inspecchef/knifechef/ohai
Verify the installed component by running its version command:
Berkshelf (
chef/berkshelf):berks -vChef CLI (
chef/chef-cli):chef-cli -vChef Infra Client (
chef/chef-infra-client):chef-client --versionChef Test Kitchen Enterprise (
chef/chef-test-kitchen-enterprise):kitchen -vChef Vault (
chef/chef-vault):chef-vault -vCookstyle (
chef/cookstyle):cookstyle -vFauxhai (
chef/fauxhai):fauxhai -vChef InSpec (
chef/inspec):inspec versionknife (
chef/knife):knife -vOhai (
chef/ohai):ohai --version
Each command displays the installed component’s version.