How to Launch Terminal in the Current Folder Location on Mac

Often while working with local files you may need to open a Terminal window in your current folder location. While doing that is as easy as pressing a button and clicking an option in Windows, things are different on a Mac. You are required to first enable an option in your Preferences panel, and then you will have the option to launch an instance of Terminal in any folder of your choice on your Mac.

A local instance of Terminal lets you execute commands while keeping the files in that folder in mind. It lets you work with the files right there in that folder.

Here’s how you can launch Terminal in the current folder location on your Mac.

You do not need a third-party app to get the job done. All you need to do is visit the Preferences panel, tweak a few settings here and there, and you will be all set.

1. Click on the Apple logo in the top-left corner on your Mac, and select “System Preferences…” You will be taken to the Preferences panel on your Mac.


2. Click on “Keyboard” in the Preferences panel.


3. Once in the Keyboard panel, click on the “Shortcuts” tab.


4. In the Shortcuts panel, click on “Services” in the left-hand menu. Scroll down in the right-hand menu, and select the options that say “New Terminal at Folder” and “New Terminal Tab at Folder.” These options should be next to each other.

Click on “none” next to “New Terminal at Folder,” and press a key combination on your keyboard to assign a new shortcut key to the feature. That way you will be able to launch a Terminal window using a shortcut key instead of pulling up the menu and selecting the option to launch one.


5. Once you have enabled the options and assigned a keyboard shortcut, you can close the Preferences panel.

6. Open the parent directory where your folder is located. Then single-click on the folder where you wish to launch a Terminal window, click on “Finder” followed by “Services,” and select “New Terminal at Folder.” Or you can simply press the keyboard shortcut that you assigned before.


7. A new Terminal window should launch in the current folder location allowing you to play around with the local files in that folder.


Launching a local instance of Terminal should now be easy for you. Should you ever wish to disable the feature, you can do so from the Preferences panel by just unchecking the boxes that you selected in the above steps.

If your work revolves around working with local files using Terminal, and you do not want to go through the hassle of providing full paths to the files, you can simply use the above workaround to have Terminal launched keeping your current folder as its current working directory.