The Complete Guide to Obsidian CLI: Driving Your Vault from the Terminal

dSebastien · x · 2026-08-05

Obsidian officially introduced its native Command Line Interface (CLI) starting with version 1.12, enabling advanced vault operations directly from the terminal.

The author details how to enable and use the tool. Beyond basic reading and writing, users can leverage the obsidian eval command to execute JavaScript within the app, gaining full access to both the browser and Obsidian APIs. This allows complex requirements like batch tag management, querying Bases, and debugging plugins to be efficiently handled via shell scripts.

Related event: Obsidian Launches Official CLI for Terminal Vault Management(2 posts)→

Original post →

More from Apps

Apps channel →