Skip to content

Install

The broker CLIs ship as self-contained .NET 10 binaries — no .NET runtime install required. They’re published per-platform as single-file archives on the broker-specific dist repositories.

Pick the tool you want the docs/install flow for:

Terminal window
curl -fsSL https://cli.jorli.in/install/kite.sh | sh

Default install dir: $HOME/.local/bin (override via INSTALL_DIR).

Terminal window
curl -fsSL https://cli.jorli.in/install/dhan.sh | sh

Default install dir: $HOME/.local/bin (override via INSTALL_DIR).

Teach coding agents every command, the --json --no-color contract, and live-trading guardrails. Skill source lives in each CLI GitHub project (skills/ folder) and is mirrored to the public dist repos:

Terminal window
npx skills add ssswagatss/kite-cli-dist --skill kite-cli
npx skills add ssswagatss/dhan-cli-dist --skill dhan-cli

Global, all agents: add -g --agent '*' -y. Full details: Agent skills.

After installing, run each tool’s --help and auth-status check:

Terminal window
kite --help
kite auth status --json --no-color
dhan --help
dhan auth status --json --no-color

Each command should print structured JSON without colour codes. If command not found, your PATH doesn’t include the install directory.

Both CLIs ship self-contained, single-file binaries for six runtime identifiers:

OS Architectures
Windows win-x64, win-arm64
Linux linux-x64, linux-arm64
macOS osx-x64, osx-arm64

Builds are trimmed-free (-p:PublishTrimmed=false) to keep reflection-based table rendering reliable.

Both CLIs have an update command that prints the URL of the latest release — they do not auto-update.

Terminal window
kite update --json --no-color
# { "latestReleaseUrl": "https://github.com/ssswagatss/kite-cli-dist/releases/latest" }
dhan update --json --no-color
# { "latestReleaseUrl": "https://github.com/ssswagatss/dhan-cli-dist/releases/latest" }

Re-run the install script for your platform, or download the archive from the release URL and replace the binary manually.

Each CLI can be built from source with the .NET SDK (10+). The solution files use the new XML .slnx format.

Terminal window
git clone https://github.com/ssswagatss/<cli>-cli # source repos are currently private
cd <cli>-cli
dotnet restore <Cli>.slnx
dotnet build <Cli>.slnx --no-restore
dotnet test <Cli>.slnx --no-build

Replace <Cli> with KiteCli or DhanCli as appropriate.

Made by Jorli, the free trading journal for Indian traders.