DEV Community

fiona
fiona

Posted on • Edited on

set up keyboard shortcut to open terminal on mac

I am currently using Monterey. These are actually simple steps to set up the shortcut. (NO coding required! yay! ๐Ÿ˜Œ)

open Automator

It is under Applications > Other > Automator. Once open a new file, select Quick Action.
create a type for your document

For convenience, if the window is blank like below, select View > Show Library.
new file window

Use the search box to find Launch Application. Then double-click or drag it to the right-hand side.
search launch application

Change the application from the default Contact to Terminal. (Select Other... and Terminal can be found in the Utilities folder)
change application to terminal

Select Run on the upper right of the window to make sure the terminal is launched as expected. Then save the file. I have my file named open terminal.

open System Preferences

Under System Preferences > Keyboard > Shortcuts > Services, find the file name. By clicking on it, select Add Shortcut and set up the keyboard shortcut you prefer. I use cmd+opt+T as linux command.
open terminal

And now it is all set up! ๐Ÿ˜ฌ

Top comments (0)