The man page for the knife edit subcommand. the knife edit subcommand is used to edit objects on the server. this subcommand works similar to knife cookbook edit, knife data bag edit, knife environment edit, knife node edit, and knife role edit, but with a single verb (and a single action). syntax this argument has the following syntax: