macOS
brew install swclocal Homebrew formula metadata
安装
brew install swclocal Homebrew formula metadata
sudo apk add swcAlpine Linux edge package indexes · swc · 来源: dl-cdn.alpinelinux.org
nix profile install nixpkgs#swcnixpkgs package indexes · pkgs/by-name/sw/swc/package.nix · 来源: api.github.com
scoop install main/swcScoop official bucket manifest trees · bucket/swc.json · 来源: api.github.com
概览
Super-fast Rust-based JavaScript/TypeScript compiler
历史
SWC, short for Speedy Web Compiler, is a Rust-based JavaScript and TypeScript compiler distributed to JavaScript users through packages such as @swc/core and @swc/cli and to system package users through formulae such as Homebrew's swc. In package-manager culture it is part of the broader move from JavaScript build tools implemented in JavaScript to fast native compilers shipped as prebuilt binaries.
The project announced SWC 1.0 on February 8, 2019, describing it as a fast JavaScript compiler able to transpile TypeScript, JSX, and modern ECMAScript to browser-compatible JavaScript. The official repository describes SWC as both a Rust and JavaScript library, which explains why it matters to two package ecosystems at once: Rust crates for compiler internals and npm packages for day-to-day web builds.
The SWC website presents it as used by tools such as Next.js, Parcel, and Deno and by companies including Vercel, ByteDance, Tencent, Shopify, and Trip.com. Its adoption story is closely tied to performance: official documentation compares it with Babel and advertises large single-thread and multi-core speedups, making it attractive in CI, editor, and monorepo workflows where transpilation time is visible.
CLI users commonly install @swc/cli with @swc/core and run swc over source files, while project-level behavior is configured with .swcrc. The Homebrew package gives non-npm users a direct swc executable, but most web projects still consume SWC through their JavaScript package manager or through higher-level tools that embed it.
SWC is interesting to package maintainers because it combines native-code speed with the packaging complexity of multi-platform binary distribution. It also turns compiler versioning into dependency graph plumbing: JavaScript packages, Rust crates, WebAssembly plugins, and framework integrations all need to line up well enough that a build tool can be upgraded without surprising users.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
local files
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.
Config paths the tool may read or write during local use.
.swcrc可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
swc | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:swc |
|---|---|
| 版本 | 1.15.47 |
| 软件包管理器 | Homebrew |
| 主页 | https://swc.rs |
| 仓库 | https://github.com/swc-project/swc |
| 最后更新 | 2026-07-29T16:58:27Z |
| Pulse | updated |
| Bottle | 未记录 |
| 服务 | 未声明 |
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
swc
nix profile install nixpkgs#swcswc 1.15.7-r0
A super-fast TypeScript / JavaScript compiler written in Rust
sudo apk add swcmain/swc
scoop install main/swc来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.