Skip to content

Commit c3b9e21

Browse files
committed
docs: use npx llm-debugger@latest in examples
1 parent ad1bfb0 commit c3b9e21

1 file changed

Lines changed: 13 additions & 13 deletions

File tree

README.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -37,20 +37,20 @@ Configure aliases to proxy to multiple APIs without restarting. When aliases are
3737

3838
```bash
3939
# Add aliases for common LLM providers
40-
llm-debugger config add-alias openai https://api.openai.com
41-
llm-debugger config add-alias anthropic https://api.anthropic.com
42-
llm-debugger config add-alias openrouter https://openrouter.ai/api
43-
llm-debugger config add-alias poe https://api.poe.com
40+
npx llm-debugger@latest config add-alias openai https://api.openai.com
41+
npx llm-debugger@latest config add-alias anthropic https://api.anthropic.com
42+
npx llm-debugger@latest config add-alias openrouter https://openrouter.ai/api
43+
npx llm-debugger@latest config add-alias poe https://api.poe.com
4444

4545
# Start without --target (aliases only)
46-
llm-debugger
46+
npx llm-debugger@latest
4747

4848
# Start with an alias as the default target
49-
llm-debugger --target openai
49+
npx llm-debugger@latest --target openai
5050

5151
# Persist a default alias for root requests
52-
llm-debugger config set-default-alias openai
53-
llm-debugger
52+
npx llm-debugger@latest config set-default-alias openai
53+
npx llm-debugger@latest
5454
```
5555

5656
Then use the alias path:
@@ -78,11 +78,11 @@ Config lives at `~/.llm-debugger/config.yaml` and logs at `~/.llm-debugger/logs`
7878
### Config Commands
7979

8080
```bash
81-
llm-debugger config show # Display current config
82-
llm-debugger config edit # Open config in editor
83-
llm-debugger config add-alias <name> <url> # Add an alias
84-
llm-debugger config remove-alias <name> # Remove an alias
85-
llm-debugger config set-default-alias <name> # Set default alias for root requests
81+
npx llm-debugger@latest config show # Display current config
82+
npx llm-debugger@latest config edit # Open config in editor
83+
npx llm-debugger@latest config add-alias <name> <url> # Add an alias
84+
npx llm-debugger@latest config remove-alias <name> # Remove an alias
85+
npx llm-debugger@latest config set-default-alias <name> # Set default alias for root requests
8686
```
8787

8888
## License

0 commit comments

Comments
 (0)