Home / Docs / CLI
User Guide

Terminal Tool (CLI)

If you spend your day in the terminal, you can interact with your notes without ever switching windows.

What is the DaVinci CLI?

The davinci command-line tool is a lightweight utility that connects directly to your local vault folder. It's built for speedβ€”each command runs in under 15 milliseconds.

flowchart LR
    Terminal["⌨️ Type in Terminal: davinci capture 'New idea'"] --> Vault["πŸ“ Appended to Today's Daily Note Instantly"]
Quick command-line capture

Everyday Terminal Commands

Quick Terminal Commands
# Save a thought to today's daily note in 1 second
$ davinci capture "Call landlord about parking spot"

# Search your notes directly in the terminal
$ davinci search "coffee brewing"

# Open today's journal in your default editor
$ davinci daily
CommandWhat it does
davinci capture "text"Appends a bullet point to today's daily note.
davinci search "word"Searches your notes and prints matching snippets right in the terminal.
davinci dailyOpens today's daily note.
davinci syncTriggers an immediate sync pass across your devices.

Piping Output into Notes

You can send output from other terminal commands straight into a new note:

Terminal Piping Example
# Save terminal output directly to a note
$ cat build-log.txt | davinci new "Build Log"