Hacker News new | ask | show | jobs
by zahlman 256 days ago
That is the incantation.
2 comments

I memorized it quickly enough from some time experimenting with cuda/ai tools.

python -m venv .

. bin/activate

pip install -r requirements.txt

`uvx <tool name>` and you're done. You don't even need to install the tool first.
The ephemeral environment that uv creates is as much an "installation" as the permanent one doing it manually.
The fact that you called one "ephemeral" and the other "permanent" makes me think you contradicted your own point.
No, I just don't think the word "install" has the same connotations that you apparently think it does.