NeuraCache for Mac includes neuracache, a command line tool for scripts and AI agents. It needs NeuraCache for Mac 1.6 or later.
The tool talks to the app, and starts it if it isn't running. Cards it adds sync to your other devices like any other card.
What it can do
- Add cards, multiple-choice ones too, with photos from a web link or a file piped in
- Find cards and show one in full, whatever its source
- Edit and delete the cards you made in NeuraCache
- List your decks and the cards in a deck
- Read how many cards are due today, and the numbers on Home
- List, create, edit, delete and switch focuses
- Answer in JSON for scripts, with
--json
Set it up
- In NeuraCache for Mac, open Settings → Command Line and make sure Command Line Tool is on.
- Copy one of the two commands shown there and paste it in Terminal. The alias is for typing in zsh windows and needs no password. The link is for scripts and Terminal agents and asks for your password once.
- Check that it works:
neuracache --helpCommands
Command | What it does |
neuracache add | Adds cards |
neuracache search | Finds cards whose front or back matches |
neuracache show | Shows one card in full |
neuracache edit | Changes a card made in NeuraCache |
neuracache delete | Deletes a card made in NeuraCache. It can be restored in the app |
neuracache decks | Lists your decks |
neuracache cards | Lists the cards in a deck |
neuracache due | Shows what is due today |
neuracache stats | Shows the numbers on Home: your streak and memory |
neuracache focus | Lists, creates, edits, deletes and switches focuses |
neuracache --help lists every option.
Good to know
- A card that came from Notion, Markdown, Evernote or another source can be found and shown, but not changed here. Change it in its source.
- Focus commands and photos need NeuraCache Pro.
- The tool can't run inside a sandboxed shell. Run it outside the sandbox.
- Claude and ChatGPT don't need the alias or the link. They have their own set-up, in Sources.