You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I often write small standalone python scripts and I'll use them anywhere.
If using uv run /path/to/script.py is a bit cumbersome for me (mostly typing the path)
So I want a uv script command to globally install these scripts
Maybe something like uv tool, but uv script manages scripts, uv tool manages tools.
Related: pypa/pipx#1388 (although pipx doesn't implement it too)
The text was updated successfully, but these errors were encountered:
shoucandanghehe
changed the title
Feature request: add uv script to support global scripts
Feature request: add uv script to manage global scripts
Sep 10, 2024
Is this related to 5903? Or do you specifically want uv to install scripts globally?
It's not quite the same, 5903 is a project-level command alias, something like npm run xxx
Whereas what I want is to make a single-file script available globally, like uv tool does for packages
I often write small standalone python scripts and I'll use them anywhere.
If using
uv run /path/to/script.py
is a bit cumbersome for me (mostly typing the path)So I want a
uv script
command to globally install these scriptsMaybe something like
uv tool
, butuv script
manages scripts,uv tool
manages tools.Related: pypa/pipx#1388 (although pipx doesn't implement it too)
The text was updated successfully, but these errors were encountered: