Skip to content
NeuralRepo
Get Support

Installation

The CLI ships as a single npm package, @neuralconfig/nrepo, and installs one binary: nrepo.

  • Node.js 18 or later (the package declares engines.node as >=18)
  • npm (included with Node.js)
  1. Install the package globally:

    Terminal window
    npm install -g @neuralconfig/nrepo
  2. Confirm the binary is on your PATH:

    Terminal window
    nrepo --version
    # 0.0.9
  3. Authenticate:

    Terminal window
    nrepo login

Until you have logged in once, nrepo --help ends with a short getting-started box. It disappears as soon as ~/.config/neuralrepo/config.json exists — the CLI prints it there because npm suppresses the package’s own post-install message on most systems.

Terminal window
npm install -g @neuralconfig/nrepo@latest

npm update -g @neuralconfig/nrepo also works. Nothing in the CLI updates itself — the version check below only tells you that an update exists.

Every invocation runs a non-blocking version check:

BehaviourDetail
When it runsBefore the command executes, so the notice prints above the command’s own output
Where it printsstderr, so it never contaminates --json output on stdout
How often it calls npmAt most once a week, cached in ~/.config/neuralrepo/update-check.json
Network timeout5 seconds, in the background; the command never waits for it
On failureSilent — a failed check never fails the command
Disable itSet NREPO_NO_UPDATE_CHECK=1

The notice looks like this:

nrepo 0.1.0 available (current: 0.0.9). Run npm i -g @neuralconfig/nrepo to update.

The package bundles a Claude Code skill. It is not installed by npm install — you opt in:

/Users/you/.claude/skills/neuralrepo/SKILL.md
nrepo install-skill
# Claude Code skill installed.

If ~/.claude does not exist, the command reports that Claude Code is not installed and exits with status 1 without writing anything.

Two things then happen on their own:

  • When the weekly version check finds a newer release, it refreshes that SKILL.md in the background, so the skill stays in step with the CLI between upgrades.
  • npm uninstall -g @neuralconfig/nrepo deletes ~/.claude/skills/neuralrepo/ entirely.

If nrepo is not found after installing, your npm global bin directory is probably not on your PATH:

Terminal window
npm config get prefix
# Add <prefix>/bin to your PATH
export PATH="$(npm config get prefix)/bin:$PATH"