Automic VaultAutomic Vault

brew

使用 Homebrew, dnf 安装 babel

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install babel

local Homebrew formula metadata

概览

软件包摘要

Compiler for writing next generation JavaScript

命令和别名

  • babel
  • babel-external-helpers

历史

项目历史与用法

Babel is a JavaScript compiler and toolchain best known for transforming modern ECMAScript syntax into JavaScript that can run in older browsers and environments. It grew from the 6to5 transpiler into one of the central packages of the JavaScript build ecosystem.

项目历史

Babel began as 6to5, a tool focused on compiling ES6-era JavaScript down to ES5. In February 2015 the project announced its rename to Babel, arguing that its parser and transpiler infrastructure would remain useful beyond a single ES6-to-ES5 migration window.

The official documentation now describes Babel as a broader toolchain: it transforms syntax, supports missing features through third-party polyfills such as core-js, performs source-code transformations, supports JSX, Flow, and TypeScript syntax, and is built from composable plugins and presets.

Major releases mark Babel's evolving role in the JavaScript ecosystem: Babel 6 modularized the package family, Babel 7 became the long-lived default generation for modern JavaScript tooling, and the official blog announced Babel 8 in 2026 with ESM-only packaging, dropped ES5 defaults, and a migration path for current users.

采用历史

Babel's adoption followed the rise of ES2015+, React JSX, and npm-based frontend build pipelines. Its own 2015 rename post noted that 6to5 and 6to5-core were approaching half a million downloads and expected to pass a million soon, already signaling rapid uptake before the Babel name had fully settled.

By 2021, the Babel project described itself as used by millions while discussing project funding. The package metadata in this batch is narrower because the Homebrew formula is only the CLI package, but the npm ecosystem around @babel/core, @babel/cli, presets, and plugins is the real adoption center.

使用方式

Developers use Babel through @babel/core, @babel/cli, bundler integrations, presets, and plugins. Typical use cases include compiling newer ECMAScript syntax, JSX, TypeScript or Flow syntax stripping, proposal syntax experiments, and custom codemods.

Configuration is project-local and can live in babel.config.* files, .babelrc variants, or a babel key in package.json. That configurability is part of why Babel works both as a command-line package and as a library embedded by larger build tools.

为什么软件包爱好者会关心

Babel is one of the defining JavaScript package-manager stories: a compiler decomposed into many small npm packages, presets, plugins, helpers, parser packages, and runtime packages that are assembled by user configuration.

For package nerds, Babel also demonstrates both the power and cost of ecosystem-scale toolchains. It made future JavaScript usable early, but it also made package graphs, peer dependencies, semver ranges, and build-step reproducibility central concerns for frontend projects.

时间线

  • 2015: 6to5 is renamed Babel on the official blog.
  • 2015: Babel 5 and Babel 6 release posts appear in the official blog archive.
  • 2018: Babel 7 is released, becoming the long-lived generation of the toolchain.
  • 2021: Babel publishes a funding update describing the project as used by millions.
  • 2026: Babel 8 is released with ESM-only packaging and changed defaults.

Related projects

  • core-js is the polyfill project Babel documentation points to for missing runtime features.
  • ESTree, Acorn, Esprima, ESLint, and related parser projects shaped the JavaScript syntax tooling environment Babel grew up in.
  • React popularized JSX workflows that made Babel a default part of frontend builds.
  • TypeScript and Flow are type-syntax ecosystems Babel can parse or strip without doing type checking.

安全态势

风险级别:绿色

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
babel.config.jsonbabel.config.jsbabel.config.cjsbabel.config.mjsbabel.config.cts.babelrc.babelrc.json.babelrc.js.babelrc.cjs.babelrc.mjs.babelrc.ctspackage.json (babel key)

可执行文件

已安装的可执行文件

命令类型暴露范围备注
babelcli全局可执行文件
babel-external-helperscli全局可执行文件

新鲜度

版本和新鲜度

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

页面生成时间2026-07-08
管理器版本8.0.1
管理器更新时间2026-06-18
本地数据OK
上游not checked
检测到的最新版本未检测到

https://babeljs.io/

  • 信息Release/tag comparison is only available for GitHub repositories.https://babeljs.io/none 置信度

安装元数据

软件包元数据

软件包键brew:babel
版本8.0.1
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/babel
主页https://babeljs.io/
仓库https://github.com/babel/babel
上游文档https://babeljs.io/docs
许可证MIT
源码归档https://registry.npmjs.org/@babel/cli/-/cli-8.0.1.tgz
最后更新2026-06-18T13:21:43Z
Pulseupdated
依赖node
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

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

源数据库匹配

其他软件包管理器记录

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

dnf95%

babel 2.18.0-3.fc45

Tools for internationalizing Python applications

https://babel.pocoo.org/

sudo dnf install babel
  • License: BSD-3-Clause
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: babel
  • 2 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Babel
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: babel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

babel-doc 2.18.0-3.fc45

Documentation for Babel

https://babel.pocoo.org/

sudo dnf install babel-doc
  • License: BSD-3-Clause
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: babel
  • 4 提供
  • normalized package name match
  • 匹配方式:Babel
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: babel-doc from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

python3-babel 2.18.0-3.fc45

Library for internationalizing Python applications

https://babel.pocoo.org/

sudo dnf install python3-babel
  • License: BSD-3-Clause
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: babel
  • 1 依赖
  • 5 提供
  • normalized package name match
  • 匹配方式:Babel
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: python3-babel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

来源线索

由仓库数据生成

此页面由 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