Upload a local cookbook to the Chef server

knife

  • CLI for interacting with a Chef server from a local Chef repo.
    More information: <https://docs.chef.io/knife.html>.
  • Trick copyright: tl;dr; <https://github.com/tldr-pages/tldr>

knife cookbook upload {{cookbook_name}}

click the source code to copy install knife on any operating system with command-not-found.com