CLI
Write, search and export notes from any terminal or script. Every command is approved on your device, just like MCP.
01Install
Needs Node.js 20 or later on macOS, Windows or Linux.
$ npm i -g @vellum/cliOr with Homebrew: brew install vellum
02Sign in
$ vellum login# Opens your browser. Approve on a device where Vellum is unlocked.Signed in as lena@example.com · access: Work (write), Recipes (read)The CLI gets its own entry in Settings → Connections, with notebook access you can change later.
Write notes
$ vellum new "Standup, 4 Dec" --notebook Work$ vellum append "Standup, 4 Dec" "- Shipped the export fix"$ git log --oneline -5 | vellum append "Standup, 4 Dec"$ vellum cat "Standup, 4 Dec"| Command | Does |
|---|---|
| new <title> | Create a note. Reads the body from stdin if piped. |
| append <note> [text] | Add text, or stdin, to the end of a note. |
| cat <note> | Print a note's Markdown. |
| edit <note> | Open a note in $EDITOR and save on close. |
| rm <note> | Move a note to Trash. Recoverable for 30 days. |
Find notes
$ vellum search "rate limits" --notebook Work$ vellum recent --limit 5$ vellum links "Hiring loop" # backlinks| Command | Does |
|---|---|
| search <query> | Full-text search across allowed notebooks. |
| recent | Notes edited most recently. |
| links <note> | Notes that link to this one. |
| notebooks | List notebooks the CLI can see. |
Export and scripting
$ vellum export Work --out ~/Backups/work$ vellum search "invoice" --json | jq '.[].title'Every command accepts --json for machine-readable output and exits non-zero when a request is denied, so scripts can tell the difference.
Account and config
| Command | Does |
|---|---|
| whoami | Show the account, plan and today's request count. |
| skill install | Install the Agent Skill for Claude Code, Codex or Cursor. |
| logout | Remove this machine's access. |
The CLI never stores your encryption key. Notes are decrypted on your approved device and sent to the CLI over an end-to-end channel. See how approval works.