atom-open-terminal-here icon indicating copy to clipboard operation
atom-open-terminal-here copied to clipboard

Open the Terminal (Mac OS X, Linux) or Command Prompt (Windows) in the given directory via context menu or keyboard shortcut in the Atom text editor.

Open Terminal Here

Open the Terminal (Mac OS X, Linux) or Command Prompt (Windows) in the given directory via context menu or keyboard shortcut.

Screenshot of the "Open Terminal Here" menu item displayed

Keyboard shortcuts

Open the Terminal in the current directory

Platform Keyboard shortcut
Mac OS X ctrl-cmd-t
Windows ctrl-alt-t
Linux ctrl-alt-t

Open the Terminal in the project directory

Platform Keyboard shortcut
Mac OS X alt-cmd-t
Windows ctrl-alt-shift-t
Linux ctrl-alt-shift-t

FAQ

How to open a new tab instead of a new window?

Mac OS X

  1. Open Automator and select Application as new document.
  2. From the Library, add Run Applescript as Automator action.
  3. Replace the sample AppleScript code with the code from terminal-tab.scpt.
  4. Save the Automator app as TerminalTab.app to your Applications folder.
  5. In the open-terminal-here settings, set Command to open -a TerminalTab.app "$PWD".

Ubuntu Linux

  1. Install xdotool:
    sudo apt-get install -y xdotool
  2. Download terminal-tab.sh and make it executable:
    chmod +x ./terminal-tab.sh
  3. Move the script to a directory in your path:
    sudo mv ./terminal-tab.sh /usr/local/bin/terminal-tab
  4. In the open-terminal-here settings, set Command to terminal-tab.