From 3d967b536c9309f049a1d82c2fe67967888a75d2 Mon Sep 17 00:00:00 2001 From: Krrish Dholakia Date: Wed, 15 Jul 2026 14:13:12 -0700 Subject: [PATCH] docs(cli): show curl install for the autoroute QA flow Points readers at scripts/install-cli.sh's curl one-liner instead of assuming uv/pip is already set up, and documents the LITELLM_CLI_REF override for trying an unreleased branch or commit. --- litellm/proxy/client/cli/README.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/litellm/proxy/client/cli/README.md b/litellm/proxy/client/cli/README.md index f98b433a6f1..a2fffcd08ff 100644 --- a/litellm/proxy/client/cli/README.md +++ b/litellm/proxy/client/cli/README.md @@ -493,6 +493,21 @@ Cursor is not supported: it has no equivalent file-based config to hot-patch thi `lite autoroute` lets you try LiteLLM's complexity-based auto-routing -- picking a cheaper or more expensive model depending on how complex a prompt looks -- against models your key already has access to on your real, running proxy, without editing that proxy's `config.yaml` and without any real request ever bypassing it. It builds a second, throwaway proxy locally that forwards every request back to your real proxy, and points Claude Code at that local proxy for the duration of the session. +#### Install the CLI + +If you don't already have the `lite` command, install it with a single curl command -- no existing Python tooling required, `uv` is bootstrapped automatically if missing: + +```bash +curl -fsSL https://raw.githubusercontent.com/BerriAI/litellm/main/scripts/install-cli.sh | sh +``` + +This installs only `litellm[cli]`, the thin client (`lite`), not the full proxy server. To try an unreleased branch or commit instead of the latest PyPI release, set `LITELLM_CLI_REF`: + +```bash +curl -fsSL https://raw.githubusercontent.com/BerriAI/litellm//scripts/install-cli.sh | \ + LITELLM_CLI_REF= sh +``` + #### List Your Accessible Model Groups ```bash