Uninstall Chef Workstation and its tools
The page documents how to uninstall Chef Workstation and its component tools.
Uninstall Chef Workstation
To uninstall Chef Workstation, use the hab pkg uninstall command:
hab pkg uninstall chef/chef-workstation
Uninstalling chef/chef-workstation removes all bundled component tools:
chef/berkshelfchef/chef-clichef/chef-infra-clientchef/chef-test-kitchen-enterprisechef/chef-vaultchef/cookstylechef/fauxhaichef/knifechef/ohaichef/inspec
Uninstall Chef Workstation Tools
If you installed a Workstation tool as a standalone application, you can uninstall it without uninstalling the entire Workstation package.
To uninstall a Workstation tool, use the hab pkg uninstall command:
hab pkg uninstall <PACKAGE_IDENT>
Replace <PACKAGE_IDENT> with one of the following packages:
chef/berkshelfchef/chef-clichef/chef-infra-clientchef/chef-test-kitchen-enterprisechef/chef-vaultchef/cookstylechef/fauxhaichef/knifechef/ohai
Uninstall a specific package version
If you installed specific tool versions, you can uninstall a specific version without uninstalling all versions of the package.
To uninstall a specific package version, run the following command:
hab pkg uninstall <PACKAGE_IDENT>
Replace <PACKAGE_IDENT> with one of the following:
- the package and version, for example
chef/<PACKAGE>/<VERSION>. - the package version and build, for example
chef/<PACKAGE>/<VERSION>/<BUILD_TIMESTAMP>