Unable to execute chef generate


#1

when I type “chef generate” command, nothing comes on screen.

I have installed cheffdk -
chef-shell --version
Chef: 13.2.20


#2

You need to specify what you want to generate… type chef generate --help for more information


#3

When I type “chef generate --help”, control returns back to the prompt, nothing comes in terminal-
chef generate --help
chefcritic-MacBook-Pro:cs chefcritic$


#4

The documentation of the chef executable:
https://docs.chef.io/ctl_chef.html

What happens if you run chef generate cookbook test_cookbook


#5

I am getting bash: generate command not found.
chef version 13
just installed for tutorial today.
can’t find any advice


#6

You are missing cookbook after generate
The command should be: chef generate cookbook test-coookbook


#7

that does not work either.


#8

I started from scratch and it is working. Sorry and thanks.