Skip to main content

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:

  1. Install a package using hab pkg install:

    hab pkg install <PACKAGE_IDENT> --binlink --force
    

    Replace <PACKAGE_IDENT> with the package identifier:

    • chef/berkshelf
    • chef/chef-cli
    • chef/chef-infra-client
    • chef/chef-test-kitchen-enterprise
    • chef/chef-vault
    • chef/cookstyle
    • chef/fauxhai
    • chef/inspec
    • chef/knife
    • chef/ohai
  2. Verify the installed component by running its version command:

    • Berkshelf (chef/berkshelf):

      berks -v
      
    • Chef CLI (chef/chef-cli):

      chef-cli -v
      
    • Chef Infra Client (chef/chef-infra-client):

      chef-client --version
      
    • Chef Test Kitchen Enterprise (chef/chef-test-kitchen-enterprise):

      kitchen -v
      
    • Chef Vault (chef/chef-vault):

      chef-vault -v
      
    • Cookstyle (chef/cookstyle):

      cookstyle -v
      
    • Fauxhai (chef/fauxhai):

      fauxhai -v
      
    • Chef InSpec (chef/inspec):

      inspec version
      
    • knife (chef/knife):

      knife -v
      
    • Ohai (chef/ohai):

      ohai --version
      

    Each command displays the installed component’s version.

See also

Thank you for your feedback!

×