# air を Homebrew, MacPorts, Nix, scoop, winget でインストール

air のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

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

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install air
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install air
```

  証拠: 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
```

  証拠: 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
```

  証拠: 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
```

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

## パッケージ情報

- **パッケージキー:** brew:air
- **パッケージマネージャ:** Homebrew
- **バージョン:** 0.11.0
- **ソース概要:** Fast and opinionated formatter for R code
- **ホームページ:** <https://posit-dev.github.io/air/>
- **リポジトリ:** <https://github.com/posit-dev/air>
- **最終更新:** 2026-07-21T14:56:56Z
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- air (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 0.11.0
## プロジェクトの歴史と使われ方

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.

### プロジェクトの歴史

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.

### 採用の歴史

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.

### 使われ方

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`.

### パッケージ好きにとっての重要性

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.

### タイムライン

- 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.

### ソース

- <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>


## セキュリティノート

narrow executable package without higher-risk signals.

- **Geiger リスク:** グリーン / 低
- 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
## 他のパッケージマネージャ記録

- 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


## Combined YAML source

View the package source record on GitHub. [combined/air.yml](https://github.com/mxcl/pkgdb/blob/main/combined/air.yml)


## ソース

- pkg.so package database
- Geiger risk classifier
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
