Registry / devops / lightningcss-cli-linux-x64-gnu

lightningcss-cli-linux-x64-gnu

JSON →
library1.32.0jsnpmunverified

Platform-specific binary package for the lightningcss CLI tool, targeting x86_64 Linux with glibc. This is an optional dependency of the main `lightningcss-cli` package, automatically installed on compatible systems. The underlying tool is a CSS parser, transformer, and minifier written in Rust, known for its extreme speed and modern CSS feature support (nesting, layers, container queries, etc.). Current stable version is 1.32.0. It is released as part of the Parcel bundler ecosystem. Key differentiators: performance comparable to esbuild, full CSS spec compliance, built-in CSS modules and vendor prefixing. This package should not be installed directly.

npm install lightningcss-cli-linux-x64-gnu
INSTALL
IMPORT
SIG · LIGHTNINGCSS-CLI-L
L
lightningcss-cli-linux-x64-gnu
devopsjavascriptv1.32.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

lightningcss-cli
npx lightningcss --help
npm i lightningcss-cli-linux-x64-gnu
Use the parent package 'lightningcss-cli', not this platform-specific binary. Direct installation will fail or cause platform conflicts.
lightningcss
import lightningcss from 'lightningcss'
import lightningcss from 'lightningcss-cli-linux-x64-gnu'
For programmatic usage, use the 'lightningcss' npm package. The CLI binary is not a JS module.

Shows correct usage of the parent CLI and programmatic API rather than installing this platform package directly.

// This package is a binary dependency, not a library. // Use the main CLI or programmatic API instead: // npx lightningcss --minify --bundle --targets '> 0.25%' input.css -o output.css // Or in Node.js: // import { transform } from 'lightningcss'; // let { code } = transform({ filename: 'style.css', code: Buffer.from('.foo { color: red }'), minify: true }); // console.log(code.toString());
Debug
Known issues
gotchaDo not install this package directly. It is an optional dependency of 'lightningcss-cli' and will be installed automatically on matching platforms. Manual installation can lead to architecture mismatch and runtime errors.
fix
Install 'lightningcss-cli' instead: npm install -g lightningcss-cli
affects: >=0.0.0
gotchaThis binary requires a glibc-based Linux system (x86_64). It will not work on musl-based distros (Alpine) or other architectures.
fix
For Alpine, use the musl variant: 'lightningcss-cli-linux-x64-musl'. For other platforms, install a different binary or use the Node.js API.
affects: >=0.0.0
Errors
Common errors & fixes
Error: No native build was found for platform=linux arch=x64 runtime=node abi=...
Missing optional dependency for the current platform or attempting to use the wrong platform binary.
fix
Ensure you are on a supported platform (x86_64 Linux with glibc) and that the package manager has installed the correct optional dependency. If not, install the appropriate binary package manually (e.g., lightningcss-cli-linux-x64-gnu).
Module not found: Can't resolve 'lightningcss-cli'
The 'lightningcss-cli' package is not installed, but this binary package alone does not provide the CLI command.
fix
Install the main CLI package: npm install -g lightningcss-cli
Upgrade
Version history
1.32.0latest on npm
Audit
Dependencies

No dependency data recorded yet.

Agent activity
2 hits · last 30 days
node
2
Resources
lightningcss-cli-linux-x64-gnu — npm install lightningcss-cli-linux-x64-gnu · libregistry