Overview
Jorli CLI
Section titled “Jorli CLI”Terminal clients for Indian brokers. Free, open-source command-line tools that run entirely on your machine — your credentials never leave your laptop, no analytics phone home, no tokens get exfiltrated to a third-party server.
Jorli ships two cross-platform CLIs, one per broker:
Kite CLI
Cross-platform .NET 10 CLI for Zerodha Kite Connect v3 — auth, profile, portfolio,
orders, trades, GTT triggers, alerts, instruments, quotes, historical candles, margins,
and charges. Package: Techriff.KiteCli. Binary: kite.
Dhan CLI
Cross-platform .NET 10 CLI for DhanHQ API v2 — auth, funds, portfolio, orders, trades,
super orders, alerts, instruments, quotes, historical candles, option chain, margins,
eDIS, kill switch, and US global stocks. Package: Techriff.DhanCli. Binary: dhan.
Why these exist
Section titled “Why these exist”The trading community in India deserves free, predictable, no-bullshit tooling. The Jorli CLIs are a small part of that — a retail trader, somewhere in India, got tired of paying in dollars for tooling that just wraps broker REST endpoints. These are the same wrappers, given away. No SaaS backend, no metered calls, no telemetry, no license fee.
Both CLIs are built on the same principles:
- Local-first. Secrets live in your OS keyring (
dhan-cli:/kite-cli:prefix), never in a config file shared by other tools. - Machine-readable with
--json --no-color. Every command supports those flags for clean structured output that’s safe to feed to scripts or another terminal agent. - No silent mutation. Live trading commands require an explicit
--yes(Dhan) or only run from operator-supplied JSON files (Kite). Tools never invent trades. - No telemetry. Networks calls are made strictly to the broker API. The binary does not phone home, does not ping an update checker, does not report usage.
Where to go next
Section titled “Where to go next”Install
One-line install on macOS, Linux, and Windows (curl/irm scripts or manual download).
Concepts
The output contract, exit codes, secret storage, and the --json / --no-color rule.
Security
What the CLIs touch, what they don’t, and how secrets stay local.
Terminal agent guide
Operating rules for AI agents driving either CLI in shared transcripts.
Use the sidebar’s Kite CLI and Dhan CLI groups to jump to a specific command’s page.