Ethan Fu381 downloadsOpen your computer's native terminal directly from Obsidian without typing cd <folder> every time.
Open your computer's native terminal directly from Obsidian without typing cd <folder> every time.
Open Terminal here.| Operating System | Terminal | Notes |
|---|---|---|
| Windows | PowerShell 7+ | Hosted in modern Windows Terminal |
| Linux | System default terminal | No terminal is favoured; e.g. on Ubuntu 25.10+ / 26.04 the default terminal (Ptyxis) is used automatically |
| macOS | Terminal.app (Ghostty / Kitty optional) | ⚠️ Not verified on a real Mac — see the note below |
On Windows the target folder is passed to both Windows Terminal (-d) and PowerShell (-WorkingDirectory). This overrides Windows Terminal's configured starting directory, even if that directory no longer exists. With older plugin builds, 0x8007010b / Could not access starting directory can be worked around by changing the invalid starting directory in Windows Terminal settings to an existing folder.
On Linux the plugin uses your system's default terminal first (via xdg-terminal-exec, or the Debian/Ubuntu x-terminal-emulator alternative). Only if no default can be determined does it fall back to the first installed terminal among Alacritty, Foot, Ghostty, GNOME Terminal, GNOME Console, Kitty, Konsole, Ptyxis, WezTerm, and XFCE4 Terminal (alphabetical, none favoured). To always use a specific one, select it under Style Settings → Preferred Terminal.
⚠️ macOS support is untested. The macOS code path is covered by automated tests only; it has not been verified on a real Mac. By default the plugin opens the built-in Terminal.app at the target folder; Ghostty or Kitty is used when selected under Style Settings → Preferred Terminal and installed in
/Applicationsor~/Applications. If it does not work for you, please open an issue.
Click the terminal icon in Obsidian's left ribbon bar to open your terminal at the vault root directory.
In the left file tree:
Open Terminal here to open the terminal in that folder.Open Terminal here to open the terminal in the directory where that file is located.If you use the Style Settings plugin, you can easily customize:
main.js, manifest.json, and styles.css from the Releases page.<vault>/.obsidian/plugins/open-powershell-here/.Obsidian's automated plugin review reports one capability warning for this plugin. It is inherent to opening a terminal at a folder, and it is limited to that purpose.
| Capability | Why it is needed | What it does not do |
|---|---|---|
Shell execution (child_process) |
Launches the selected terminal as a detached process: PowerShell 7+ on Windows (hosted in Windows Terminal when available), the terminal emulator on Linux, or the terminal app via /usr/bin/open on macOS. To find out which terminal is installed, candidates are simply started in order until one succeeds; on Windows pwsh candidates are verified with a hidden version probe, and on Debian/Ubuntu update-alternatives --query x-terminal-emulator is run to identify the default terminal. |
No shell is involved (shell: false); no command strings are built; the target folder is passed as a separate argument and as the process working directory; the terminal session is never read, written, or monitored. |
The plugin does not use the Node.js fs module: it never reads, writes, or checks any file, inside or outside your vault.
The plugin does not connect to the network, does not collect telemetry, and does not write logs.
MIT License, see LICENSE.