Marc Goldberg's Blog
Enabling Safari’s developer menu.

insertname:

on the command-line type

defaults write com.apple.Safari IncludeDebugMenu 1

and now you should have a menu called develop as well as the ability to right click and inspect an element ( all this and without having webkit installed).

Thanks Paul!!!!!  (Marco: note gratuitous use of exclamation marks)