Skip to content

Commit 4b32196

Browse files
yjwyjw
authored andcommitted
docs: clarify uv tool vs pip upgrades
1 parent 1c97605 commit 4b32196

1 file changed

Lines changed: 19 additions & 0 deletions

File tree

README.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,25 @@ Python 3.9+ interpreter:
3131
python3 -m pip install --upgrade young-stock-cli
3232
```
3333

34+
If you installed `young` with `uv tool`, upgrade that tool-managed environment instead of `pip`:
35+
36+
```bash
37+
uv tool install --upgrade young-stock-cli
38+
```
39+
40+
If `python3 -m pip install --upgrade young-stock-cli` succeeds but `young --version` still shows an older release,
41+
you are probably running a different executable entrypoint than the interpreter you just upgraded. A quick check:
42+
43+
```bash
44+
which -a young
45+
young --version
46+
uv tool list
47+
python3 -m pip show young-stock-cli
48+
```
49+
50+
If `which young` points to `~/.local/bin/young`, that command is usually coming from `uv tool`, not from the
51+
`python3 -m pip` environment.
52+
3453
## Usage
3554

3655
```bash

0 commit comments

Comments
 (0)