Automic VaultAutomic Vault

brew

使用 Homebrew, MacPorts, Nix, scoop, winget 安装 air

查看 air 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install air

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install air

MacPorts ports tree · devel/air/Portfile · 来源: api.github.com

Linux

Nix已验证 · 92%
nix profile install nixpkgs#air

nixpkgs package indexes · pkgs/by-name/ai/air/package.nix · 来源: api.github.com

Windows

Scoop已验证 · 92%
scoop install main/air

Scoop official bucket manifest trees · bucket/air.json · 来源: api.github.com

Windows Package Manager已验证 · 92%
winget install --id Posit.Air -e

Windows Package Manager source index · Posit.Air · 来源: cdn.winget.microsoft.com

概览

软件包摘要

Fast and opinionated formatter for R code

历史

项目历史与用法

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.

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 构建元数据列出 1 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

local files

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

Config paths the tool may read or write during local use.

Unix
air.toml.air.toml

可执行文件

已安装的可执行文件

命令类型暴露范围备注
aircli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-08
管理器版本0.10.0
管理器更新时间2026-06-19
本地数据OK
上游当前
检测到的最新版本0.10.0

https://github.com/posit-dev/air

  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:air
版本0.10.0
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/air
主页https://posit-dev.github.io/air/
仓库https://github.com/posit-dev/air
上游文档https://posit-dev.github.io/air
许可证MIT
源码归档https://github.com/posit-dev/air/archive/refs/tags/0.10.0.tar.gz
最后更新2026-06-19T20:43:13Z
Pulseupdated
构建依赖rust
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameair
Version Scheme0
Revision0
Conflicts With
  • go-air
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Nix95%

air

nix profile install nixpkgs#air
  • normalized package name match
  • 匹配方式:Air
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/ai/air/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
MacPorts95%

air

sudo port install air
  • normalized package name match
  • 匹配方式:Air
MacPorts ports tree · api.github.com · MacPorts ports tree: devel/air/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
Scoop95%

main/air

scoop install main/air
  • normalized package name match
  • 匹配方式:Air
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/air.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
winget95%

Posit.Air

winget install --id Posit.Air -e
  • normalized package name match
  • 匹配方式:Air
Windows Package Manager source index · cdn.winget.microsoft.com · Windows Package Manager source index: Posit.Air from https://cdn.winget.microsoft.com/cache/source.msix

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

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