Is there a keyboard shortcut (hotkey) to open Terminal in macOS?

Viewed 166104

One of my primary tools used for programming is my Terminal. It makes my programming process more efficient when I'm able to quickly open a Terminal window.

In Ubuntu, I was using (window+Alt+T) to open Terminal. But now I use a Macbook at my programming job.

Sometimes I use Spotlight to search "Terminal", and press Enter.

I'd like to know if I can assign a keyboard hotkey to do it.

5 Answers

As programmers we want the quickest, most fool-proof way to get our tools in order so we can start hacking. Here are how I got it to work in MacOS 10.13.1 (High Sierra):

  • Option 1: Go to System Preferences | Keyboard | Shortcut | Services. Under Files and Folders section, enable New Terminal at Folder and/or New Terminal Tab at Folder and assign a shortcut key to it. Keyboard shortcut config

  • Option 2: If you want the shortcut key to work anywhere, create a new Service using Automator, then go to the Keyboard Shortcut to assign a shortcut key to it. Known limitation: not work from the desktop

enter image description here

Notes:

  • If the shortcut doesn't work, it might be in conflict with another key binding (and the OS wouldn't warn you), try something else, e.g. if ⇧⌥T doesn't work, try ⇧⌘T.
  • Don't spell-correct MacOS, that's not necessary.

Try command + t. It works for me.

mac - "command + t" will open a new terminal window.

Related