Skip to content

Commit 8a426fd

Browse files
alias
1 parent c1d931a commit 8a426fd

2 files changed

Lines changed: 5 additions & 6 deletions

File tree

docs/explanation/tools.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -325,14 +325,14 @@ Find relevant information:
325325

326326
HoloViz MCP also provides a command-line interface for direct terminal use. The CLI mirrors the MCP tools above, so you can query Panel components, HoloViews elements, hvPlot plot types, and documentation from your shell.
327327

328-
!!! tip "Alias for convenience"
328+
!!! tip "Short alias: `hv`"
329329
Add this to your shell profile (`.bashrc`, `.zshrc`, etc.) for shorter commands:
330330

331331
```bash
332-
alias hv=holoviz-mcp
332+
alias hv='uvx holoviz-mcp'
333333
```
334334

335-
Then use `hv search ...` instead of `holoviz-mcp search ...`.
335+
Then use `hv search ...` instead of `uvx holoviz-mcp search ...`.
336336

337337
### Command Overview
338338

src/holoviz_mcp/config/resources/skills/holoviz-mcp-cli.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,9 @@ The recommended way to install is as a **uv tool**:
2020

2121
This installs `holoviz-mcp` into an isolated environment. Since `uv tool` manages its own bin directory, users often make the CLI available under a shorter name via a shell alias or symlink:
2222

23-
alias hv='uvx holoviz-mcp' # in .bashrc / .zshrc
24-
alias holoviz-mcp='uvx holoviz-mcp' # or keep the full name
23+
alias hv='holoviz-mcp' # in .bashrc / .zshrc
2524

26-
If `hv` or `holoviz-mcp` is on your PATH, you can substitute it in all examples below (e.g., `hv search Panel Tabulator`, `hv pn get Button`).
25+
If `hv` is on your PATH, you can substitute it in all examples below (e.g., `hv search Panel Tabulator`, `hv pn get Button`).
2726

2827
## When to Use CLI vs MCP
2928

0 commit comments

Comments
 (0)