by lunarg on January 30th 2017, at 11:33

Since Mac OSX Lion (10.7), it is possible to open a Terminal from a Finder window, similar to "Open Command Prompt" in Windows. The feature is available as a service and is by default disabled, but when enabled, it allows you to click a folder and then perform "Open Terminal", which will launch a terminal window at the specified folder.

To enable the "Open Terminal" service:

  1. From Finder, click the Finder application menu, then under the Services menu, click Services Preferences.
    Alternatively, open System Preferences, click Keyboard, then Shortcuts and in the left pane, click Services.
  2. In the right pane, scroll down to Files and Folders, and look for New Terminal at Folder. Tick its checkbox to enable this. You can also enable New Terminal Tab at Folder, which will open the folder in a new tab instead of a new window.
  3. Optionally, you can also bind a keyboard shortcut to the service. With a folder selected in Finder, you can use the keyboard shortcut to open the terminal. Note that you need to select a combination which does not exist as something else in Finder. For instance, the combo ⌘ + - is available as a shortcut, but the ⌘ + C (copy) isn't.