# Install air with Homebrew, MacPorts, Nix, scoop, winget

Fast and opinionated formatter for R code. Version 0.10.0 via Homebrew; verified 2026-06-19.

## Install

```sh
sudo av install brew:air
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install air
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install air
```

  Evidence: MacPorts ports tree: devel/air/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#air
```

  Evidence: nixpkgs package indexes: pkgs/by-name/ai/air/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

### Windows

- Scoop (92%):

```sh
scoop install main/air
```

  Evidence: Scoop official bucket manifest trees: bucket/air.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

- winget (92%):

```sh
winget install --id Posit.Air -e
```

  Evidence: Windows Package Manager source index: Posit.Air from https://cdn.winget.microsoft.com/cache/source.msix

## Package facts

- **Package key:** brew:air
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/air>
- **Version:** 0.10.0
- **Source summary:** Fast and opinionated formatter for R code
- **Homepage:** <https://posit-dev.github.io/air/>
- **Repository:** <https://github.com/posit-dev/air>
- **Upstream docs:** <https://posit-dev.github.io/air>
- **License:** MIT
- **Source archive:** <https://github.com/posit-dev/air/archive/refs/tags/0.10.0.tar.gz>
- **Last updated:** 2026-06-19T20:43:13Z
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- air (cli)
- air (alias)

## Build dependencies

- rust

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 0.10.0
- Package-manager updated: 2026-06-19
- Local data: ok
- Upstream repository: https://github.com/posit-dev/air
- Upstream latest detected: 0.10.0 (current)
## Project history and usage

Air is Posit's Rust-written formatter and language server for R code. It packages a formatter-first workflow familiar from Prettier, Ruff, Biome, and rust-analyzer into the R ecosystem, with both CLI and editor/LSP entry points.

### Project history

The project is developed under the posit-dev GitHub organization and its README describes it as an R formatter and language server written in Rust. The project documentation presents a small CLI surface, a configuration file, and editor integration rather than a broad framework.

Air's own acknowledgements tie its design to earlier R and non-R tooling: styler for R style-guide formatting, rust-analyzer for language-server expectations, and Biome for language-agnostic syntax-tree and formatter infrastructure.

### Adoption history

Air's installation story quickly grew beyond source builds: the README documents standalone installers for macOS, Linux, and Windows, plus uv, Homebrew, Pixi, conda-forge, and mise paths. The Homebrew and conda-forge packages are explicitly described as community-maintained, which is a useful signal that packaging arrived alongside broader R-tooling interest rather than only inside Posit's own installer channel.

The public GitHub releases show active 0.x development through 2025 and 2026, including 0.10.0 published on 2026-06-19. In package-manager terms it is still a young tool, but it already has the familiar shape of a modern formatter binary: fast install scripts, a single `air` executable, and optional editor integration.

### How it is used

Typical CLI use is `air format path/to/file.R`, either from a globally installed binary or via one-shot execution through uv, Pixi, or mise. For editor users, Air also runs as a language server, so the same package can serve both batch formatting and editor-on-save workflows.

Configuration is intentionally local and simple: the documented names are `air.toml` and `.air.toml`, keeping it in the same mental category as formatter configs such as `.prettierrc`, `ruff.toml`, or `biome.json`.

### Why package nerds care

Air matters to package nerds because it is part of the wider trend of single-purpose, native-speed formatter binaries replacing slower language-hosted developer tools. It brings that trend to R while still acknowledging the established styler/tidyverse style-guide lineage.

The package is also interesting because Homebrew is not the sole distribution story: the official README calls out uv, Pixi, conda-forge, mise, and standalone installers. That makes it a compact example of a modern developer CLI trying to meet users across several package-manager cultures.

### Timeline

- 2025: Public 0.x releases and Posit documentation establish Air as an R formatter and language server.
- 2025-10-21: GitHub release 0.8.0 published.
- 2026-06-19: GitHub release 0.10.0 published.

### Related projects

- styler is the R formatter explicitly credited as prior art and inspiration.
- Biome, rust-analyzer, Prettier, and Ruff are cited by Air as non-R influences for formatter and language-server design.

### Sources

- <https://api.github.com/repos/posit-dev/air/releases?per_page=5>
- <https://github.com/posit-dev/air>
- <https://posit-dev.github.io/air>
- <https://posit-dev.github.io/air/configuration.html>


## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals


## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: air.toml, .air.toml
## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** air
- **Version Scheme:** 0
- **Revision:** 0
- **Conflicts With:** go-air
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

## Other Package-Manager Records

- Nix - air: normalized package name match | nixpkgs package indexes: pkgs/by-name/ai/air/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- MacPorts - air: normalized package name match | MacPorts ports tree: devel/air/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Scoop - main/air: normalized package name match | Scoop official bucket manifest trees: bucket/air.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
- winget - Posit.Air: normalized package name match | Windows Package Manager source index: Posit.Air from https://cdn.winget.microsoft.com/cache/source.msix


## Related links

- [Source-control packages](https://www.automicvault.com/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [rust](https://www.automicvault.com/pkg/brew/rust/) - Build dependency declared by Homebrew.
- [alejandra](https://www.automicvault.com/pkg/brew/alejandra/) - Shares av.db curated category or tags: cli, code-formatting, code-quality, developer-tools, formatter.
- [google-java-format](https://www.automicvault.com/pkg/brew/google-java-format/) - Shares av.db curated category or tags: cli, code-formatting, code-quality, developer-tools, formatter.
- [astyle](https://www.automicvault.com/pkg/brew/astyle/) - Shares av.db curated category or tags: cli, code-formatting, developer-tools, formatter.
- [black](https://www.automicvault.com/pkg/brew/black/) - Shares av.db curated category or tags: cli, code-formatting, developer-tools, formatter.
- [cbfmt](https://www.automicvault.com/pkg/brew/cbfmt/) - Shares av.db curated category or tags: cli, code-formatting, developer-tools, formatter.
- [darker](https://www.automicvault.com/pkg/brew/darker/) - Shares av.db curated category or tags: cli, code-formatting, developer-tools, formatter.
- [djhtml](https://www.automicvault.com/pkg/brew/djhtml/) - Shares av.db curated category or tags: cli, code-formatting, developer-tools, formatter.
- [findent](https://www.automicvault.com/pkg/brew/findent/) - Shares av.db curated category or tags: cli, code-formatting, developer-tools, formatter.
- [php-cs-fixer](https://www.automicvault.com/pkg/brew/php-cs-fixer/) - Local package facts share a topical domain. Shared terms: cli, code, code-formatting, code-quality, developer.

## Combined YAML source

View the package source record on GitHub. [combined/air.yml](https://github.com/automic-vault/db/blob/main/combined/air.yml)


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
