Skip to content

Commands

Fresh

All 115 currently documented desktop obsidian commands, grouped by feature. This enumerated catalog is the operational contract; it does not imply undocumented Headless or third-party plugin APIs. Most file-aware commands accept file=<name> or path=<path>. See How to for syntax and Sources for provenance.

Groups

GroupWhat it does
General commandsTop-level utilities for help, version reporting, reloading the window, and restarting the app..
BasesCommands for working with Obsidian Bases databases..
BookmarksList and add bookmarks.
Command palette and hotkeysList and execute commands registered by Obsidian and plugins.
Daily notesOpen, read, append, prepend, and resolve the path of the daily note..
File historyDiff, list, read, restore, and open versions from local File Recovery and Obsidian Sync history..
Files and foldersInspect, create, read, append, prepend, move, rename, and delete files and folders in the vault.
LinksList backlinks, outgoing links, unresolved links, orphans (files with no incoming links), and dead-ends (files with no outgoing links)..
OutlinePrint the headings outline for a file as a tree, markdown list, or JSON..
PluginsList, enable, disable, install, uninstall, and reload core and community plugins.
PropertiesList aliases and properties across the vault or for a specific file.
PublishManage Obsidian Publish from inside the desktop app: site info, change status, add, remove, and open files on the published site..
Random notesOpen or read a random note, optionally limited to a specific folder..
SearchSearch the vault for matching files, return grep-style line context, or open the search view in the app..
SyncPause and resume Obsidian Sync, show status, list and restore Sync version history.
TagsList all tags in the vault, filter by file, and inspect tag occurrence..
TasksList, filter, and toggle Markdown tasks anywhere in the vault, including in the daily note..
TemplatesList, read, and insert templates.
Themes and snippetsList, install, uninstall, and set themes.
Unique notesCreate a unique note using the Unique note creator plugin's naming scheme..
VaultShow info for the current vault, list known vaults, and switch vaults from within the TUI..
Web viewerOpen a URL inside the Obsidian web viewer..
WordcountCount words and characters in the active file or a specific file..
WorkspaceInspect the current workspace, list and load saved workspaces, manage tabs and recent files..
Developer commandsOpen dev tools, attach the Chrome DevTools Protocol debugger, take screenshots, inspect the DOM and CSS, run JavaScript, toggle mobile emulation.

Conventions

  • Required parameters are marked (required) in the parameter docs.
  • A parameter takes a value, parameter=value. Wrap values with spaces in quotes.
  • A flag is a boolean switch with no value. Include it to turn it on.
  • Use \n for newline and \t for tab inside multiline content values.
  • Add --copy to any command to copy the output to the system clipboard.

Unofficial SOP mirror. Built for terminal-driven and agentic Obsidian workflows.