Skip to main content

Install Knife 19

Knife 19 is included as a component of Chef Workstation 26 RC3, but you can also install it as a standalone package. The Knife standalone installation doesn’t include the Knife cloud provider plugins (knife-ec2, knife-google, knife-windows). For that reason, Progress Chef recommends installing Chef Workstation, which includes Knife and the Knife cloud provider plugins.

If you want to install Knife 19 as a standalone component, follow the steps below.

Requirements

Knife 19 has the following requirements:

  • Supported on Linux (Ubuntu 18.04+, CentOS 7+, RHEL 7+), macOS 10.15+, or Windows 10/Server 2016+
  • Chef Habitat 1.6.0 or later installed
  • Internet connectivity for package download and bootstrapping remote nodes
  • SSH or WinRM to manage remote nodes

Install the Knife standalone package

To install the Knife 19 standalone package, follow these steps:

  1. Install Knife 19:

    sudo hab pkg install chef/knife --channel unstable --binlink --force
    
  2. Optional: After installation, verify Knife 19 is installed and working:

    knife --version
    

Next steps

Thank you for your feedback!

×