D Dhruv CLI
Local-first · Ollama powered

Ship smarter from your terminal.

Dhruv is a focused AI command center for developers. Understand code, investigate errors, improve projects, and keep your context close to home.

$ npm install -g @rahul05ranjan/dhruv-cli
Local by designYour model, your machine
Built for flowFast, focused commands
Open to extendPlugins included
Dhruv CLI reviewing a project in the terminal
A calm layer over complexity

Everything useful. Nothing in the way.

Dhruv keeps the high-value developer workflows one command away, with local models and a terminal-native experience.

01

Think out loud

Get clear explanations, practical suggestions, and structured fixes for the questions that slow you down.

02

Inspect with context

Review files and directories, optimize configurations, and run security analysis close to the source.

03

Shape your workflow

Use JSON output, shell completion, an interactive command palette, or add your own project plugins.

The command surface

From first question to final check.

Short commands, useful defaults, and a workflow that follows the way developers actually work.

Ask & understand

  • suggest <query>Explore an approach
  • explain <query>Make it clear
  • fix <query>Find a way forward
  • generate <type> <target>Make a first draft
example · local session
$ dhruv review src/

◈ Reviewing project context...

Code quality       86%
Findings           3 actionable suggestions
Next step          Run dhruv optimize package.json

✓ Local model ready     gemma3:270m
A three-step setup

Be up and running in a minute.

Bring your own local model, choose your preferences, and start asking better questions.

01

Install the CLI

Requires Node.js 20.19 or newer.

npm install -g @rahul05ranjan/dhruv-cli

02

Start Ollama

Install Ollama, then pull a local model.

ollama pull gemma3:270m

03

Make it yours

Use the setup wizard to choose your model, output, and theme.

dhruv init

Build a sharper loop.

Read the API reference, add a plugin, or join the project on GitHub.