# OpenInTerminal **Repository Path**: mtdev/OpenInTerminal ## Basic Information - **Project Name**: OpenInTerminal - **Description**: No description available - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-09-26 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README



English | [OpenInTerminal 中文说明](./Resources/README-zh.md) [OpenInTerminal-Lite English](./Resources/README-Lite.md) | [OpenInTerminal-Lite 中文说明](./Resources/README-Lite-zh.md) ## How to use 🚀 | Features | OpenInTerminal | OpenInTerminal-Lite & OpenInEditor-Lite | | --- | --- | --- | | Open current directory in Terminal (or Editor) | ![](https://user-images.githubusercontent.com/11001224/78589385-b797b880-7872-11ea-9062-c11a49461598.gif) | ![](https://user-images.githubusercontent.com/11001224/78589363-b23a6e00-7872-11ea-841d-79227b1125ce.gif) | | Open selected folder or file in Terminal (or Editor) | ![](https://user-images.githubusercontent.com/11001224/78589369-b36b9b00-7872-11ea-8a9e-e3f23e7ce80e.gif) | ![](https://user-images.githubusercontent.com/11001224/78589359-afd81400-7872-11ea-8032-8035d4412b19.gif) | ### More features | Features | OpenInTerminal | OpenInTerminal-Lite & OpenInEditor-Lite | | --- | --- | --- | | Support Terminal, [iTerm](https://www.iterm2.com/), [Hyper](https://github.com/zeit/hyper), [Alacritty](https://github.com/jwilm/alacritty) and [kitty](https://sw.kovidgoyal.net/kitty/). | ✅ | ✅ | | Support TextEdit, [Visual Studio Code](https://code.visualstudio.com/), [VSCode Insiders](https://code.visualstudio.com/insiders/), [Atom](https://atom.io/), [Sublime Text](https://www.sublimetext.com/), [VSCodium](https://github.com/VSCodium/vscodium), [BBEdit](https://www.barebones.com/products/bbedit/), [TextMate](https://macromates.com), [CotEditor](https://coteditor.com/), [MacVim](https://github.com/macvim-dev/macvim) and [JetBrains](https://www.jetbrains.com/)(AppCode, CLion, GoLand, IntelliJ IDEA, PhpStorm, PyCharm, RubyMine, WebStorm). | ✅ | ✅ | | Set to open a new tab or window. | ✅ | ✅ | | Support English, Chinese, French, Russian, Italian and Spanish. | ✅ | ✅ | | Copy path of the selected file or Finder window to Clipboard | ✅ | ❌ | | GUI preferences | ✅ | ❌ | | Support keyboard shortcuts. | ✅ | ❌ | | Support Dark Mode. | ✅ | ❌ | ## OpenInTerminal and OpenInTerminal-Lite (OpenInEditor-Lite) 👀 Which one to choose? Both of these apps are my children. If you like more powerful features and GUI preferences, then you can use `OpenInTerminal`. If you just need to open terminal faster and more stably, then you can use `OpenInTerminal-Lite`. For me, I prefer `OpenInTerminal-Lite` which only needs to click once to complete the function (and the other needs to click twice 😂) and it is more lightweight. For `OpenInTerminal-Lite` users: Please check the document: [OpenInTerminal-Lite English](./Resources/README-Lite.md) | [OpenInTerminal-Lite 中文说明](./Resources/README-Lite-zh.md) ## How to install 🖥 ### 1. Download #### a) Homebrew ``` brew cask install openinterminal ``` #### b) Manual 1. Download from [release](https://github.com/Ji4n1ng/OpenInTerminal/releases). 2. Move the app into `/Applications`. > ⚠️ macOS will ask your permissions to access Finder and other applications when you run the app for the first time. Please give OpenInTerminal the permissions. ### 2. Check Finder Extension permission Open the OpenInTerminal app. Go to `System Preferences` -> `Extensions` -> `Finder Extensions`, check the permission button as below.
## Todo 👨‍💻 If you have a good idea, feel welcome to open a new [issue](https://github.com/Ji4n1ng/OpenInTerminal/issues/new/choose). - Open iTerm in split pane - Fix: open multiple selected files in editor ## Support ❤️ Hello, I am Ji4n1ng. I am a student and OpenInTerminal is an open source project I maintain in my spare time. It is free and open source. I will be very grateful that you can support me in purchasing an Apple Developer account. $99/year is not a small expense for students. It's close to my three-week living expenses. Thanks a lot! | PayPal | AliPay | WeChat Pay | | --- | --- | --- | | [paypal.me/ji4ning](https://www.paypal.me/ji4ning) | | | ## FAQ ❓
1. What is the difference between OpenInTerminal and OpenInTerminal-Lite?

OpenInTerminal currently has a normal version and a lite version. If you like more powerful features and GUI preferences, then you can use OpenInTerminal. If you just need to open terminal faster and more stably, then you can use OpenInTerminal-Lite.

2. I accidentally clicked on the Don't Allow button.

You can run the following command in the terminal. This will reset the permissions in the System Preferences.


tccutil reset AppleEvents wang.jianing.app.OpenInTerminal
3. Special characters in the path.

Please do not use backslash \ and double quotes " in the path.

4. Open two Terminal windows on Mojave

This problem usually occurs when Terminal is first started. So you can use ⌘W to close Terminal window instead of using ⌘Q to quit Terminal.

5. Finder Extension Standalone Operation Mode

Currently Finder extension is completely dependent on AppleScript in order to run independently. So it is hard to guarantee its stability. When you find that Finder extension doesn't work properly, you need to hold down the Option(⌥) key, right-click on Finder, and select Relaunch.

6. OpenInTerminal doesn't work as I expected

OpenInTerminal will open terminal or editor as the following order:

For example, if you select a file in the bottom Finder window and you want to open the above Finder window in terminal, this will not work as you expected according to the above order.

Q: I right-click on the desktop but no terminal or editor appears. But actions in status bar menu work.

A: Try to select a file(folder) or open a Finder window. Because when you right-click on the desktop and nothing is selected, system does not provide program with the path of selected files. Under this situation, the program does not work.
Currently they(Fidner extension and actions in status bar menu) do not work as the same way. Finder extension is completely dependent on AppleScript in order to run independently, while status bar icon works as before. So they have different behaviors. This problem will be improved in the future.

7. The implementation mechanism of OpenInTerminal and why there are two versions.

There are two ways to achieve "open in terminal".

Some people want OpenInTerminal to be fast and stable(the lite version), while others want OpenInTerminal to be powerful and easier to configure(the normal version). Some people hope that OpenInTerminal can automatically adapt to dark mode(the normal version), while others just want to open the terminal with one click(the lite version).

When one version can no longer meet these needs, OpenInTerminal was split into a normal version and a lite version a few months ago.

(BTW, I know there are apps that are sandboxed and can achieve the same effect as OpenInTerminal. But I don't know how it implements this. If anyone knows it and is willing to talk to me, that would be great. I'm very happy to make OpenInTerminal more perfect so that one version is enough.😀)

## Changes 🗒
show all

version 2.2.3

version 2.2.2

version 2.2.1

version 2.2.0

version 2.1.1

version 2.0.5

version 2.0.4

version 2.0.3

version 2.0.2

version 2.0.1

version 0.10.2

version 0.10.1

version 0.10.0

version 0.9.1

version 0.9.0

version 0.4.1

version 0.4.0

version 0.3.0

version 0.2.0

version 0.1.1

version 0.1.0


## Special Thanks to ❤️ ### Contributors - [Camji55](https://github.com/Camji55) - [gucheen](https://github.com/gucheen) ### Translators - [Dorian Eydoux](https://github.com/dorian-eydoux) - [Egor](https://github.com/Rogue85) - [arendruni](https://github.com/arendruni) - [panta97](https://github.com/panta97) ### Reference projects - [jbtule/cdto](https://github.com/jbtule/cdto) - [es-kumagai/OpenTerminal](https://github.com/es-kumagai/OpenTerminal) - [tingraldi/SwiftScripting](https://github.com/tingraldi/SwiftScripting) - [onmyway133/FinderGo](https://github.com/onmyway133/FinderGo)