pkg.soopen package index

brew / 排名 3737

使用 Homebrew, dnf 安装 babel

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install babel

local Homebrew formula metadata

概览

软件包摘要

Compiler for writing next generation JavaScript

命令和别名

  • babel

历史

项目历史与用法

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

安装行为

  • 未记录 Homebrew bottle 元数据。

建议审查

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

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)

可执行文件

已安装的可执行文件

命令类型暴露范围备注
babel可执行文件已索引可执行文件从本地可执行文件索引发现。

新鲜度

版本和新鲜度

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

页面生成时间2026-08-03
管理器版本8.0.4
管理器更新时间2026-07-10
本地数据未知
上游不可用
检测到的最新版本未检测到
  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:babel
版本8.0.4
软件包管理器Homebrew
主页https://babeljs.io/
最后更新2026-07-10T12:06:39Z
Pulseupdated
Bottle未记录
服务未声明

源数据库匹配

其他软件包管理器记录

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

dnf95%

babel 2.18.0-4.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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst
dnf95%

babel-doc 2.18.0-4.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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst
dnf95%

python3-babel 2.18.0-4.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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

来源线索

由仓库数据生成

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

使用的来源

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