SiderMem
Back to Home

Manage Your Personal Knowledge Base From the Terminal

sidermem-cli is a free npm package for searching, creating, updating, and browsing your SiderMem personal knowledge base from the terminal. Add notes, local files, or command output and keep them searchable alongside anything captured from the browser extension.

Install and authenticate

npm install -g sidermem-cli
sidermem login

Enter your registered email; a one-time code is emailed to you, and your session is stored locally after that.

Add notes and files

sidermem create --file ./notes.md

Import any local text or Markdown file — the filename becomes the memory's title.

Pipe terminal output directly

git diff main | sidermem create -t "Feature Diff"
git log -n 5 --oneline | sidermem create -t "Branch Sync Context"

Search and read back

sidermem list --search "optimization"
sidermem show 5f2a

Browse your knowledge base wiki

Once memories sync, SiderMem's automatic entity extraction organizes them into wiki pages (see what a personal knowledge base extension does). The CLI can read that wiki directly:

sidermem list-wiki
sidermem show-wiki <slug>

These commands are read-only. Wiki pages are built by the extension's sync pipeline, not triggered by CLI capture itself.

Safety notes

Anything you pipe into sidermem create is uploaded as-is once synced — review diffs and files for secrets or credentials before capturing them, the same way you would before committing to a shared repository.

Related: Full CLI reference · Pipe terminal output into your knowledge base

View on NPM