Skip to main content
notes (packages/cli) is the reference client. --remote uses @elanotes/sdk. Local --vault keeps today’s read verbs. Local-mode writes are not promised — those verbs print a hint naming --remote.

Install / run

pnpm notes runs packages/cli/dist/cli.js. The -- after notes keeps pnpm from eating flags. Default API_URL is http://127.0.0.1:4000. Optional bearer: ELA_API_TOKEN. Production:

Remote verbs

Every verb accepts --json (handles, versions, coverage — never full bodies except read / raw). Writes send an Idempotency-Key unless you pass --idempotency-key. Failures print message then hint.

Round trip

A stale --version prints the VERSION_MOVED hint and exits non-zero. Exit codes map from reason (2 usage, 3 auth, 4 not found, 5 conflict, 6 validation, 7 rate/budget, 8 forbidden, 1 other).