Tip: To drag and drop the current folder from Finder, grab the (admittedly small) icon in the Finder window’s title bar. Note: This works with Terminal open, of course it also works on the Terminal icon kept in the Dock while Terminal is closed. To open a new Terminal window with a command prompt in any folder from a Finder window: How to Open a Terminal Window at Any Folder from Finder Using Dragging and Dropping In the Terminal window, note that you can also, vice versa, open a Finder window showing the current directory from the command prompt. Keyboard shortcut: In the context menu’s stead, you can also press the keyboard shortcut, if you have set up a combination for the New Terminal at Folder command. Tip: To open the folder in a new tab in the last-active Terminal window, select New Terminal Tab at Folder instead if no Terminal window is open, your Mac will create a new one. Keyboard shortcut: To open the current folder in Terminal, select Go | Enclosing Folder from the menu or press Command ↑ before right-clicking the folder.
To open a new Terminal command prompt at the current folder on a Mac from a macOS Finder window: