talira

NotesMD CLI

Command-line tool for creating, searching, moving and opening notes in an Obsidian vault

open sourceMITfree

NotesMD CLI (formerly Obsidian CLI) is a command-line tool, written in Go, for working with an Obsidian vault from the terminal: it opens, searches, lists, prints, creates, updates, moves and deletes notes, edits frontmatter and opens the daily note. It reads the vault's files directly, so Obsidian doesn't need to be running or installed: on a server or in a container you register the vault folder with the CLI. Moving or renaming a note updates the wikilinks and Markdown links that point to it. Its maker renamed it from Obsidian CLI after Obsidian released its own official CLI.

Problems it solves

  • add a line to today's note in my notes vault from a script or a cron job without opening the notes app
  • search my Markdown notes vault from the terminal on a server where no desktop app is installed
  • rename a note in my vault from the command line without breaking the links to it in other notes

Features

  • create, update, append to, move, rename and delete notes from the terminal
  • fuzzy search by note name and full-text search of note content, with JSON output for scripts
  • moving a note updates every wikilink and Markdown link to it in the vault
  • daily notes using the vault's own daily-note settings and templates
  • works headless, without Obsidian running or installed

Limitations

  • Some older commands (such as set-default) still work but print a deprecation warning and will be removed in the next major version.1

Alternatives

The same job

These do what NotesMD CLI does.

  1. Joplin Free your notes: an open source note-taking app
  2. Reflect Think better with Reflect
  3. NoteDiscovery Your Self-Hosted Knowledge Base
  4. Claudian Obsidian plugin that runs Claude Code, Codex and other coding agents inside your vault
  5. Obsidian Sharpen your thinking. The free and flexible app for your private thoughts.
  6. SilverBullet The malleable knowledge base for you and your team. Powered by Markdown and Lua.

Compare NotesMD CLI with the top 3