Skip to content

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 for authentication. Once approved, credentials are stored in ~/.config/neuralrepo/config.json.

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):

FlagShortDescriptionDefault
--body-bIdea body text(empty)
--tag-tAdd a tag (repeatable)(none)
--status-sSet initial statuscaptured
--jsonForce JSON output(see below)
--humanForce human-readable output(see below)
Terminal window
nrepo push "AI-powered code review tool" \
--tag ai \
--tag devtools \
--tag saas \
--status exploring

The CLI supports two output modes:

ModeWhen UsedFormat
Human-readableDefault when authenticated via OAuthFormatted text with labels
JSONDefault when authenticated via API keyMachine-parseable JSON

You can override the default with --json or --human on any command:

Terminal window
# Force JSON output (useful for scripting)
nrepo push "My idea" --json
# Force human-readable output (useful with API key auth)
nrepo search "tracker" --human
Idea created successfully
ID: 42
Title: AI-powered code review tool
Status: exploring
Tags: ai, devtools, saas
{
"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.