> ## Content Index
> Fetch the complete content index at: https://developerinsider.co/llms.txt
> Use this file to discover other available public pages before exploring further.

# Open Terminal for current Project using Xcode Keyboard Shortcut
- URL: https://developerinsider.co/open-terminal-for-current-project-using-xcode-keyboard-shortcut/
- Published: 2020-05-31T04:46:00.000Z
- Updated: 2020-12-05T11:10:58.000Z
- Author: Vineet Choudhary
- Tags: Tips, Xcode, iOS, Terminal, Shortcut

Do you know, you can open Terminal from Xcode at the project's path with a custom keyboard shortcut? First, Create a new script file in your project root directory with following command -

```sh
#!/bin/sh
open -a Terminal .

```

Now, open terminal and run `chmod +x Script.sh` to make the file executable. Now go to Xcode's Preferences and select the Behaviors tab. Click on the **+** sign to add a new custom behavior, and on the right hand side, check **Run** and choose the script that was just created.

Click the **⌘** symbol next to the behavior script name to set the keyboard shortcut. I use `⌃` \+ `⌘` \+ `T` for opening the Terminal. (Keyboard shortcut symbols - `⌘` \= Command key, `⌃` \= Control key, `⌥` \= Option (alt) key, `⇧` \= Shift key)

Here the demo video which cover all steps -