uv
Air can be installed via uv due to the fact that Air’s binary is distributed on PyPI via the air-formatter Python package.
Only Air ≥0.8.2 can be installed via uv.
To globally install Air using uv:
uv tool install air-formatter
# Now you can do
air format path/to/my/script.RAlternatively, ephemerally invoke Air without installing it using uvx:
uvx --from air-formatter air format path/to/my/script.RFor a specific version of Air:
uv tool install air-formatter@0.8.2
uvx --from air-formatter@0.8.2 air format path/to/my/script.R