SWC CLI
Command-line tool for compiling and transpiling JavaScript with Rust-based SWC compiler.
Build tools and bundlers npm MIT
Used in agent projects
47
0.4% of 12,697 public repos built with AI coding agents
Rank in build tools and bundlers
#38 of 81
by use in those projects
Downloads
6M
npm, last 7 days, @swc/cli
GitHub stars
88
last push Aug 31, 2026
How SWC CLI is used
SWC CLI is a dependency in 47 of the 12,697 public GitHub projects set up for AI coding agents that we scanned (0.4%), #38 of 81 in build tools and bundlers. The most used alternative there is Vite. Projects that use it most often also use SWC (100.0%), Prettier (87.2%), Nx (83.0%).
Often used with SWC CLI
| SWC | 100.0% of SWC CLI projects · 87.0× more than average |
|---|---|
| Prettier | 87.2% of SWC CLI projects · 5.0× more than average |
| Nx | 83.0% of SWC CLI projects · 79.2× more than average |
| Nx JS Plugin | 78.7% of SWC CLI projects · 95.2× more than average |
| Jest | 66.0% of SWC CLI projects · 11.9× more than average |
| ts-node | 66.0% of SWC CLI projects · 9.7× more than average |
| Vitest | 63.8% of SWC CLI projects · 5.2× more than average |
By coding agent
| Cursor | 1.2% of projects set up for it |
|---|---|
| Claude Code | 0.6% of projects set up for it |
| GitHub Copilot | 0.5% of projects set up for it |
| OpenAI Codex | 1.3% of projects set up for it |
| Gemini CLI | 1.4% of projects set up for it |
Share of public repos configured for each agent that list SWC CLI as a dependency.
Install
| Package | npm install @swc/cli |
|---|---|
| Main stacks | TypeScript / JavaScript (40), Next.js (5), Python (1), Java / Kotlin (1) |
| Example projects | ngxtension/ngxtension-platform, lucasvieirasilva/nx-plugins, awslabs/nx-plugin-for-aws, Miladxsar23/smartstepper, tangle-network/dapp |
Alternatives to SWC CLI
| Tool | Used in agent projects | Downloads / wk | GitHub stars | License |
|---|---|---|---|---|
| Vite npm Fast native-ESM powered web development build tool and dev server. |
2,897 (22.8%) | 194M | 83.3K | MIT |
| Babel (JavaScript) npm JavaScript compiler for transforming modern JavaScript to compatible code. |
484 (3.8%) | 187M | 44.1K | MIT |
| Turborepo npm High-performance build system for monorepos with task parallelization. |
399 (3.1%) | 29.5M | 31.2K | MIT |
| esbuild npm Extremely fast JavaScript and CSS bundler and minifier written in Go. |
342 (2.7%) | 3M | 40.1K | MIT |
| webpack npm Module bundler that packages JavaScript, assets and dependencies for browser deployment. |
255 (2.0%) | 54.9M | 66.1K | MIT |
| react-scripts npm Build configuration and scripts for Create React App zero-configuration setup. |
231 (1.8%) | 2.4M | 103K | MIT |
| React Compiler Babel Plugin npm Babel plugin for React Compiler that optimizes React component rendering. |
202 (1.6%) | 17.8M | 251K | MIT |
| webpack CLI npm Command-line interface for webpack bundler and related build tools. |
201 (1.6%) | 10.4M | 2,617 | MIT |