Initial release of bear-notes-cli.
A zero-dependency CLI for managing Bear notes on macOS. Reads via SQLite, writes via x-callback-url.
Read commands (works without Bear running)
bear list-- list notes with filters (tag, archived, trashed, pinned, todos, sort)bear get-- get a note by ID or titlebear search-- full-text search with snippetsbear tags-- browse tags as a tree with countsbear backlinks-- view incoming and outgoing note linksbear stats-- database statisticsbear export-- export note content to stdout or file
Write commands (requires Bear running)
bear create-- create notes (supports stdin)bear edit-- append, prepend, or replace note text (supports stdin)bear open-- open a note in Bearbear trash/bear archive-- move notesbear tag-rename/bear tag-delete-- manage tags
Features
--jsonflag on every command for scripting- Zero npm dependencies -- uses Node.js builtins (
node:sqlite,node:util) - Requires Node.js 22+
npm install -g bear-notes-cli