Skip to content

Commit 042bc58

Browse files
committed
docs: note uvx --refresh for fetching the latest package version
1 parent f688f80 commit 042bc58

6 files changed

Lines changed: 36 additions & 0 deletions

File tree

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,12 @@ uvx nber-cli info w25000
6060
uvx nber-cli download w34567
6161
```
6262

63+
If the command is not found or fails, run `uvx nber-cli -v` to check the current version. If it is not the latest version, update the cache with:
64+
65+
```bash
66+
uvx --refresh nber-cli -v
67+
```
68+
6369
Or install the command first:
6470

6571
```bash

README.zh-CN.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,12 @@ uvx nber-cli info w25000
5959
uvx nber-cli download w34567
6060
```
6161

62+
如果提示命令不存在或报错请先通过 `uvx nber-cli -v` 检查当前运行的版本,如果不是最新版本可以通过如下命令将缓存更新至最新版本:
63+
64+
```bash
65+
uvx --refresh nber-cli -v
66+
```
67+
6268
也可以先安装命令:
6369

6470
```bash

docs/en/getting-started.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,12 @@ uvx nber-cli info w25000
1919
uvx nber-cli download w34567
2020
```
2121

22+
If the command is not found or fails, run `uvx nber-cli -v` to check the current version. If it is not the latest version, update the cache with:
23+
24+
```bash
25+
uvx --refresh nber-cli -v
26+
```
27+
2228
## Install as a Tool
2329

2430
Use `uv tool install` when you want the `nber-cli` command available on your shell path:

docs/en/index.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,12 @@ uvx nber-cli feed fetch --max-items 5
2424
uvx nber-cli download w34567
2525
```
2626

27+
If the command is not found or fails, run `uvx nber-cli -v` to check the current version. If it is not the latest version, update the cache with:
28+
29+
```bash
30+
uvx --refresh nber-cli -v
31+
```
32+
2733
Install as a reusable command:
2834

2935
```bash

docs/zh/getting-started.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,12 @@ uvx nber-cli info w25000
1919
uvx nber-cli download w34567
2020
```
2121

22+
如果提示命令不存在或报错,请先通过 `uvx nber-cli -v` 检查当前运行的版本。如果不是最新版本,可以通过如下命令将缓存更新至最新版本:
23+
24+
```bash
25+
uvx --refresh nber-cli -v
26+
```
27+
2228
## 安装为命令
2329

2430
如果希望 shell 中一直可用 `nber-cli` 命令,可以使用:

docs/zh/index.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,12 @@ uvx nber-cli feed fetch --max-items 5
2424
uvx nber-cli download w34567
2525
```
2626

27+
如果提示命令不存在或报错,请先通过 `uvx nber-cli -v` 检查当前运行的版本。如果不是最新版本,可以通过如下命令将缓存更新至最新版本:
28+
29+
```bash
30+
uvx --refresh nber-cli -v
31+
```
32+
2733
安装成可复用命令:
2834

2935
```bash

0 commit comments

Comments
 (0)