docsetutil Reference

Apple provides the command-line tool docsetutil to help you create, test, and query full-text and API indexes for your documentation set. To use the tool, open Terminal and enter the following:

docsetutil <verb> [options] <doc_set_path>

The <doc_set_path> argument specifies the file system path to the documentation set bundle and is required for all operations using docsetutil.

You can use docsetutil to:

The docsetutil tool supports the following common options, which you can use with any of the available verbs:

These are the available verbs and their corresponding options: