You can also install it "globally" for your user with:
uv tool install ty
Then you can use it anywhere ty check uv tool install ty
Then you can use it anywhere ty check uv tool run ty
If your $PATH sucks