Command line interface
Installation
If you’d like to use Air at the command line, you can use one of our standalone installers.
On macOS and Linux:
curl -LsSf https://github.com/posit-dev/air/releases/latest/download/air-installer.sh | sh
On Windows:
-c "irm https://github.com/posit-dev/air/releases/latest/download/air-installer.ps1 | iex" powershell
For a specific version:
curl -LsSf https://github.com/posit-dev/air/releases/download/0.1.1/air-installer.sh | sh
powershell -c "irm https://github.com/posit-dev/air/releases/download/0.1.1/air-installer.ps1 | iex"
The installer scripts will automatically add Air to your PATH
. The very first time you install Air, for the PATH
modifications to be applied you’ll need to restart your terminal.
Note that if you’d like to use Air inside VS Code or Positron, then the Extension for those editors comes pre-bundled with an Air binary, so there’s nothing you need to do besides download the Extension.