←back to thread

741 points chirau | 1 comments | | HN request time: 0.205s | source
Show context
oezi ◴[] No.44358422[source]
I continue to be puzzled why sometime running uvx (uv tool run) will redownload all dependencies even though it just downloaded them for another tool. Downloading torch 15 times per day gets old even on 500 mbits
replies(2): >>44358558 #>>44358572 #
1. veganjay ◴[] No.44358572[source]
Initially, I used `uv tool run <name>`, but later discovered `uv tool install <name>`. The `install` command downloads dependencies once and caches them for future use. It is similar to how `pipx install <name>` works.

e.g.

$ uv tool install asciinema

$ asciinema play example.cast