Open Safari > Preferences, and click on the Advanced Tab. Then check the box next to "Show Develop in menu bar."