2 ms·
Use this as your shebang line: #!/usr/bin/env -S uv run --script https://treyhunner.com/2024/12/lazy-self-installing-python-scripts-with-uv/ https://treyhun
by simonw 1y ago
Use this as your shebang line:
#!/usr/bin/env -S uv run --script
https://treyhunner.com/2024/12/lazy-self-installing-python-scripts-with-uv/ https://treyhunner.com/2024/12/lazy-self-installing-python-s...
I don't think requiring all CLI tools to be "native binaries" makes sense. Plenty of popular CLI tools are not compiled binaries. The Python and Node.js ecosystems run on those.
- kiitos 1y agoYou're describing scripts, which require interpreters like I guess uv or Node or Python. A CLI tool is a native binary.