Skip to content

Instantly share code, notes, and snippets.

@daryltucker
Created September 30, 2025 21:09
Show Gist options
  • Save daryltucker/ec5a135441808649ec7bd6a6e07f0662 to your computer and use it in GitHub Desktop.
Save daryltucker/ec5a135441808649ec7bd6a6e07f0662 to your computer and use it in GitHub Desktop.
uvgit: Specify uv Package Source
function uvgit(){
repo=$(echo "${1}" | rev | cut -d'/' -f -1 | rev)
echo "Installing $repo found at ${1}"
uv tool install "git+${1}#egg=${repo}"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment