by simonw · 1y ago · 0 comments
uvx ut md5 ...
Or: npx ut md5 ...
To execute it without having to figure out cargo or how to add a Rust binary to their path.I've seen a few tools do things like this recently, it's a pretty interesting pattern. I believe there's tooling in the Python/Rust world that makes compiling the different binary wheels relatively easy using GitHub Actions.
uv also has a couple commands I throw in a systemd unit[1] to keep these tools updated:
uv self update
uv tool upgrade --all
1: https://github.com/level12/coppy/blob/main/systemd/mise-uv-u...Another suggestion is to enable cargo-binstall, it allows just to install cargo binaries conveniently, and cargo-binstall is just a single-binary to install itself.