# @swc/cli

> CLI for the swc project

Latest version **0.8.1** (published 2026-04-01) · MIT license · 0 weekly downloads

## Install

```sh
npm install @swc/cli
pnpm add @swc/cli
yarn add @swc/cli
bun add @swc/cli
```

Provides the commands `swc`, `swcx`, `spack`.

## Health

**Score 55/100 (C)** — status: active.

Positive: no vulnerabilities; has provenance; high maintenance score.

Warnings: low downloads; no types; no esm support; pre 1.0.

## Facts

| | |
|---|---|
| Version | 0.8.1 |
| Published | 2026-04-01 |
| First published | 2019-02-15 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >= 20.19.0 |
| Dependencies | 9 |
| Unpacked size | 99.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 85 |
| Author | 강동윤 |
| Maintainers | kdy1 |
| Keywords | swc, cli, babel, es6, transpile, transpiler, compiler, javascript |

## Links

- npm: https://www.npmjs.com/package/@swc/cli
- Repository: https://github.com/swc-project/pkgs
- Issues: https://github.com/swc-project/pkgs/issues
- npm.io page: https://npm.io/package/@swc/cli

## Dependencies (9)

- [slash](https://npm.io/package/slash.md) 3.0.0
- [semver](https://npm.io/package/semver.md) ^7.3.8
- [piscina](https://npm.io/package/piscina.md) ^4.3.1
- [commander](https://npm.io/package/commander.md) ^8.3.0
- [minimatch](https://npm.io/package/minimatch.md) ^9.0.3
- [source-map](https://npm.io/package/source-map.md) ^0.7.3
- [tinyglobby](https://npm.io/package/tinyglobby.md) ^0.2.13
- [@swc/counter](https://npm.io/package/@swc/counter.md) ^0.1.3
- [@xhmikosr/bin-wrapper](https://npm.io/package/@xhmikosr/bin-wrapper.md) ^14.0.0

## Alternatives

- [@openai/codex-sdk](https://npm.io/package/@openai/codex-sdk.md) — 731.4K weekly downloads
- [babel-plugin-transform-react-jsx](https://npm.io/package/babel-plugin-transform-react-jsx.md) — 565.0K weekly downloads
- [babel-helper-remove-or-void](https://npm.io/package/babel-helper-remove-or-void.md) — 508.5K weekly downloads
- [@pnpm/store-controller-types](https://npm.io/package/@pnpm/store-controller-types.md) — 186.9K weekly downloads
- [react-native-signature-canvas](https://npm.io/package/react-native-signature-canvas.md) — 155.6K weekly downloads

## Recent versions

- 0.8.1 (latest) — 2026-04-01
- 0.8.0 — 2026-02-06
- 0.7.10 — 2026-01-14
- 0.7.9 — 2025-11-05
- 0.7.8 — 2025-07-09
- 0.7.7 — 2025-05-12
- 0.7.5 — 2025-05-07
- 0.7.4 — 2025-05-06
- 0.7.3 — 2025-04-17
- 0.7.2 — 2025-04-15
- 0.7.1 — 2025-04-15
- 0.6.0 — 2025-01-09
- 0.5.2 — 2024-12-02
- 0.5.1 — 2024-11-19
- 0.5.0 — 2024-10-30
- … 70 more at https://npm.io/package/@swc/cli/versions

## README

# swc-cli

See our website [swc-cli][] for more information or the issues associated with this package.

[swc-cli]: https://swc.rs/docs/usage-swc-cli

## @swc/cli@1 beta version is available

Beta version of @swc/cli is now available via `swcx command.
This'll be a default command for @swc/cli@1.
Please give it a try and report any issues at https://github.com/swc-project/swc/issues/4017

---
_Source: https://npm.io/package/@swc/cli · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
