Skip to content
NeuralRepo
Get Support

CLI

The NeuralRepo CLI (nrepo) lets you capture and manage ideas without leaving your terminal. It is fast, scriptable, and works seamlessly with developer workflows — including Claude Code.

  • Fast capture — push an idea in a single command, no context switching
  • Scriptable — pipe output, use in shell scripts, integrate with CI/CD
  • Works with Claude Code — Claude Code can invoke nrepo commands directly in your development workflow
  • JSON output — parse results programmatically for automations

Install the CLI globally via npm:

Terminal window
npm install -g @neuralconfig/nrepo

Verify the installation:

Terminal window
nrepo --version

Log in using your browser — this is the easiest method:

Terminal window
nrepo login

Your browser opens GitHub sign-in, and the server hands a freshly minted API key back to the CLI. It is stored in ~/.config/neuralrepo/config.json.

This flow works on every plan, so the CLI is usable without Pro.

Capture an idea in a single command:

Terminal window
nrepo push "Build a habit tracker app" --body "Mobile-first, with streak tracking and reminders" --tag side-project --status exploring

All flags are optional except the title (the first positional argument):

FlagDescriptionDefault
--body <text>Idea body text (Markdown)(empty)
--tag <tag>Add a tag (repeatable)(none)
--status <status>Set initial statuscaptured
--jsonJSON output(human-readable)
--humanHuman-readable output — wins over --json(default)

The body is passed as a flag value, so quote it. Multi-line bodies work with a quoted string or your shell’s line continuation; there is no stdin mode.

Terminal window
nrepo push "AI-powered code review tool" \
--tag ai \
--tag devtools \
--tag saas \
--status exploring

Every command prints human-readable output by default, on any authentication method. Pass --json for machine-parseable output — including errors, which become a single JSON object on stderr with an error, a code, and (for API failures) a status.

Terminal window
# JSON output (useful for scripting)
nrepo push "My idea" --json
# --human wins if both are passed
nrepo search "tracker" --json --human

Ideas print as one row each: number, status, a glyph for the capture source, title, tags, and — for search results — the relevance score.

✓ Idea captured
#42 exploring ⬡ AI-powered code review tool [ai, devtools, saas]
Processing: embeddings, dedup, and auto-tagging queued
{
"id": 42,
"title": "AI-powered code review tool",
"status": "exploring",
"tags": ["ai", "devtools", "saas"],
"source": "cli",
"processing": true,
"created_at": "2026-03-24T10:30:00Z"
}
Terminal window
# Search ideas
nrepo search "habit tracker"
# List recent ideas
nrepo log
# View a specific idea
nrepo show 42
# Change an idea's status
nrepo move 42 building
# Delete an idea
nrepo rm 42

The CLI stores its configuration at:

~/.config/neuralrepo/config.json

This file contains your authentication credentials (OAuth token or API key). Do not share it or commit it to version control.