Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

Go2Shell: Open Terminal in Current Finder Folder

· 5 min read · Home Tech

In this article
  1. What Is Go2Shell?
  2. How to Install Go2Shell
  3. How It Works Under the Hood
  4. Choosing Between Go2Shell and Alternatives
  5. Common Problems and Troubleshooting
  6. Security and Privacy Considerations
  7. Frequently Asked Questions

Yes, Go2Shell adds a toolbar button to Finder that opens a new Terminal window already cd’d to the current folder. It is a free, open-source utility for macOS that has been a standard tool for developers and system administrators for years.

What Is Go2Shell?

Go2Shell is a small macOS application that installs a button into the Finder toolbar. When you click that button, it launches Terminal (or another terminal emulator of your choice) and automatically changes the working directory to the folder you are currently viewing in Finder. This saves you from typing cd and long paths or dragging folders into the Terminal window.

The tool was originally created by Igor Mikhalenko and is now maintained as an open-source project on GitHub. It is distributed free of charge, and the source code is available for anyone to inspect or modify.

How to Install Go2Shell

Installing Go2Shell involves two steps: downloading the app and adding its button to the Finder toolbar.

  1. Download the latest release from the official GitHub repository (search for “go2shell” on GitHub).
  2. Open the downloaded ZIP file and drag the Go2Shell app into your Applications folder.
  3. Launch Go2Shell once. It will ask for permission to add its button to the Finder toolbar.
  4. If the button does not appear automatically, open Finder, go to View > Customize Toolbar…, and drag the Go2Shell icon into the toolbar.

After installation, the button will appear in every Finder window. Click it while viewing any folder, and Terminal will open with that folder as the working directory.

How It Works Under the Hood

Go2Shell uses AppleScript or a small helper executable to communicate with Finder. When you click the button, it asks Finder for the path of the current window’s target folder. It then opens your preferred terminal app and runs a command like cd "/path/to/folder".

The tool is designed to work with Terminal.app, iTerm2, and several other popular terminal emulators. You can set your default terminal in Go2Shell’s preferences, which you access by right-clicking the button and selecting Preferences.

Because it relies on Finder’s AppleScript dictionary, Go2Shell requires that Finder have “Apple events” enabled for the app. On modern macOS versions, you may need to grant Automation permission in System Settings > Privacy & Security > Automation.

Choosing Between Go2Shell and Alternatives

Go2Shell is not the only way to open a terminal in the current Finder directory. Several alternatives exist, each with its own strengths.

  • cd to – A similar toolbar utility that also supports custom terminal apps and has a more modern interface.
  • OpenInTerminal – An open-source Finder extension that adds a toolbar button and a Services menu item. It supports Terminal, iTerm2, Hyper, and Alacritty.
  • Path Bar click – In Finder, you can enable the path bar (View > Show Path Bar) and then right-click a folder in the path bar to get a “Open in Terminal” option if you have the right tools installed.
  • Terminal’s built-in drag – You can type cd in Terminal, drag a folder from Finder into the window, and press Return. This works without any extra software.

Go2Shell remains a favorite because it is lightweight, free, and does one thing well. However, some users prefer alternatives that offer more customization or are actively maintained with more frequent updates.

Common Problems and Troubleshooting

Users occasionally run into issues with Go2Shell. Here are the most common ones and how to resolve them.

  • Button does nothing – Ensure Go2Shell is running (check the Dock or Activity Monitor). Also check that you have granted Automation permission to Go2Shell in System Settings.
  • Terminal opens in home directory instead of the current folder – This usually happens when the Finder window is showing a special location like “Recents” or “AirDrop”. Go2Shell only works with regular folders.
  • Permission errors – If Terminal shows “Operation not permitted”, go to System Settings > Privacy & Security > Automation and enable the checkboxes for Go2Shell and Terminal.
  • Works with Terminal but not iTerm2 – In Go2Shell preferences, explicitly select iTerm2 as your default terminal. If iTerm2 is not listed, you may need to update Go2Shell or use a different tool.

If none of these fixes work, check the GitHub issues page for the project, as there may be a known bug with your macOS version.

Security and Privacy Considerations

Go2Shell is open-source, which means anyone can review the code for malicious behavior. The official release is generally considered safe, but you should always download it from the official GitHub repository rather than third-party sites.

Because Go2Shell needs to control Finder and Terminal, it requires Automation permissions. These permissions are tightly controlled by macOS, and you can revoke them at any time in System Settings. The app does not send any data over the network; it works entirely locally.

One minor concern is that Go2Shell is not notarized by Apple (as of the last official release). This means that on newer macOS versions, you may see a warning when you first launch it. To open it, right-click the app and select Open, then confirm that you want to open it.

Frequently Asked Questions

Is Go2Shell free?

Yes, Go2Shell is completely free and open-source. You can download it from GitHub without paying anything.

Does Go2Shell work with iTerm2?

Yes, Go2Shell supports iTerm2 and several other terminal emulators. You can select your preferred terminal in the preferences.

Why doesn’t Go2Shell work on macOS Sonoma or Sequoia?

Some users have reported that older versions of Go2Shell do not work on recent macOS versions due to permission changes. Make sure you have the latest version from GitHub. If it still fails, consider using an alternative like OpenInTerminal.

Can I use Go2Shell without installing it?

No, Go2Shell must be installed to add its button to the Finder toolbar. However, you can achieve the same result by typing cd and dragging the folder into Terminal.

Is Go2Shell safe to use?

Yes, the official version is safe. It is open-source, and its only function is to open a terminal in the current directory. Always download from the official GitHub repository.

Does Go2Shell work with Finder tabs?

Go2Shell works with the active tab in a Finder window. If you have multiple tabs open, it will use the one that is currently visible.