In Windows 10 , you canopen cmdin any folder by either typecast cmd in the location bar in File Explorer or , simply hold up down the switching headstone and ripe - snap on the explorer windowpane . In the circumstance menu , you will see the option to Open command window here . However , there is no such alternative to quickly unfold Terminal onMac . When you spread out a depot on Mac , it always open up in the habitation directory , but there are time when you may want to open them in a fussy folder on your system . turn out you may open up Terminal in any directory on macOS as well . There are 3 way of life to go about it .
Read : How to Install YouTube - dl on Mac
Quickly Navigate to a Folder in Terminal on Mac
Method I
This is the most usual method acting .
merely , open up the terminal , type in the cd command followed by the folder path you desire to navigate . For example ,
cd ~/Documents
or else , if you are too lazy to typecast the intact way of life name , you may also drag a folder ( or pathname ) onto the Terminal app icon . It ’ll mechanically seize the route of the folder , next collision enter .
Method II
While the old method works , it ’s not the most effective way to navigate to a booklet in the terminus on Mac .
Much like Windows , Mac also permit you reach the depot directly from a specific folder . However , this option is buried deep under Mac ’s mise en scene . have ’s see how to dissolve it .
To get started , go to System Preferences > Keyboard > Shortcuts > Services .
retrieve “ New Terminal at Folder ” in the preferences and click the box seat .
The good thing is this help work in all program , not just Finder . you could also assign a keyboard shortcut to it . But , I do n’t recommend doing that , as the keyboard shortcut can conflict with other aboriginal shortcuts .
Now , when you ’re in Finder , just right - click a folder , go to Services and you ’ll see a new option – New Terminal at Folder . press which will open Terminal in the current folder
Method III
Alternatively , you could use many of the third - political party apps available to navigate to a brochure in the pole . The one I recommend iscdtoandOpenInTerminal .
For this article , we will employ OpenInTerminal app . It ’s spare and clear reference .
To get started , DownloadOpenInTerminal . As of writing , the late version is OpenInTerminal - Lite 0.4.1 .
Once downloaded , lead over to the app , unzip it and move the app to the Applications leaflet .
Now , you need to add the OpenInTerminal - Lite to your view finder ’s toolbar . To do so , carry down the Cmd Florida key and drag the app into Finder Toolbar .
Once done , the app shows you a small icon in the finder window , clicking on which will open Terminal in the current folder .
And that ’s about it .
Now , to remove OpenInTerminal , you have to first remove it from the Finder toolbar before you delete it from the Applications leaflet . To do so , open Finder and go to View > Customize toolbar . A newfangled windowpane will open , click and hold OpenInTerminal ’s picture and drag it out of the toolbar to remove it from the toolbar . Now , you’re able to go ahead and delete the original app from the lotion folder .
All in all , these were a few way to navigate to a leaflet in depot on Mac , while it ’s not a springy saver , it does save some meter if you use the depot a lot . In general , I would commend , using the ‘ New Terminal at Folder ’ option as it ’s native in Mac or if you favor pamphlet option , employ OpenInTerminal app . allow me know , your intellection , in the scuttlebutt section below .
Also Read : Apps to Bridge Gap Between iPhone and MacBook