Installation

You can install swc with

npm i -D @swc/core @swc/cli

or

yarn add --dev @swc/core @swc/cli

This will download a prebuilt binary instead of building swc if possible. Currently prebuilt binaries are provided only for mac (x64) / linux (x86_64) / win32-x64.

To use on Alpine Linux, also install the @swc/core-linux-musl npm package.

Last updated on by ๊ฐ•๋™์œค