Automic VaultAutomic Vault

brew

Install swc with Homebrew, apk, Nix, scoop

Super-fast Rust-based JavaScript/TypeScript compiler. Version 1.15.43 via Homebrew; verified 2026-06-22.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install swc

local Homebrew formula metadata

Linux

Alpine Linux apkverified · 92%
sudo apk add swc

Alpine Linux edge package indexes · swc · source: dl-cdn.alpinelinux.org

Nixverified · 92%
nix profile install nixpkgs#swc

nixpkgs package indexes · pkgs/by-name/sw/swc/package.nix · source: api.github.com

Windows

Scoopverified · 92%
scoop install main/swc

Scoop official bucket manifest trees · bucket/swc.json · source: api.github.com

overview

Package summary

Super-fast Rust-based JavaScript/TypeScript compiler

Commands and aliases

  • swc

history

Project history and usage

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.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

  • 2019: SWC 1.0 announced as a fast JavaScript compiler.
  • 2020: Official SWC/Babel performance comparison published.
  • 2025: Official documentation describes SWC as a Rust-based platform used by major tools and companies.

Related projects

  • Babel is the main historical comparison point in SWC's own documentation.
  • Next.js, Parcel, and Deno are named by the SWC website as tools that use SWC.
  • Rspack, swc-loader, @swc/jest, and SWC WebAssembly plugins are documented as adjacent integrations.

security posture

Risk level: green

narrow executable package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • narrow executable package without higher-risk signals

Signals

  • metadata:no-higher-risk-signals

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Build metadata lists 1 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

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

executables

Installed executables

CommandKindExposureNote
swccliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-08
manager version1.15.43
manager updated2026-06-22
local dataok
upstreamcurrent
latest detectedv1.15.43

https://github.com/swc-project/swc

  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:swc
Version1.15.43
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/swc
Homepagehttps://swc.rs
Repositoryhttps://github.com/swc-project/swc
Upstream docshttps://github.com/swc-project/swc#readme
LicenseApache-2.0
Source archivehttps://github.com/swc-project/swc/archive/refs/tags/v1.15.43.tar.gz
Last updated2026-06-22T17:49:12Z
Pulseupdated
Build dependenciesrust
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

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

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Nix95%

swc

nix profile install nixpkgs#swc
  • normalized package name match
  • Matched by: Swc
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/sw/swc/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
apk95%

swc 1.15.7-r0

A super-fast TypeScript / JavaScript compiler written in Rust

https://swc.rs

sudo apk add swc
  • License: Apache-2.0
  • Architecture: x86_64
  • Source Package: swc
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Swc
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: swc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
Scoop95%

main/swc

scoop install main/swc
  • normalized package name match
  • Matched by: Swc
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/swc.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • 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