5.4 Client CLI Reference
The standard CLI tool allows you to interact with your Standard Garden from your terminal.
Installation
# From within the monorepo (the CLI lives in packages/cli)
cd packages/cli
npm link
Status: the CLI works but is the least battle-tested client — when in doubt, the API is the source of truth.
Setup
Before using the CLI, you must log in with your API Key.
standard login
Prompts for your API Key (found in ::api command).
Commands
standard whoami
Displays the currently authenticated user details.
standard note
Manage your notes.
note send
Create a new note.
standard note send "This is a new note"
note read
Read the most recent note.
standard note read
note search
Search your notes.
standard note search "query string"
note random
Get a random note from your database.
standard note random
note edit
Edit an existing note by ID.
standard note edit <note-id> "New content"
note delete
Delete a note by ID.
standard note delete <note-id>
See Also
- Frontmatter Schema Reference – Complete guide to note metadata and options
- API Reference – REST API reference