Official Cascadium CLI with prebuilt executables for CSS nesting workflows.
npm install @cypherpotato/cascadiumbash
npx install @cypherpotato/cascadium
cascadium --help
`
You can also add it as a project dependency:
`bash
npm install --save-dev @cypherpotato/cascadium
`
Supported platforms
| Operating system | Architectures |
| --- | --- |
| Windows | x64, arm64 |
| Linux | x64, arm64 |
| macOS | x64, arm64 |
At runtime the package picks the appropriate binary automatically. If you're on an unsupported platform, point the CASCADIUM_BINARY environment variable to a compatible executable.
Usage
Once installed, the cascadium command is available on your PATH. Run cascadium --help for the full list of options or visit the documentation at https://github.com/CypherPotato/cascadium.
Refreshing the bundled binaries
Use the PowerShell helpers in the repository to regenerate every runtime:
`pwsh
pwsh -NoProfile -File tool/build-win.ps1
pwsh -NoProfile -File tool/build-linux.ps1
pwsh -NoProfile -File tool/build-osx.ps1
`
Each script publishes the CLI for the target runtime and mirrors the output into package/dist/. After rebuilding for Unix-like platforms, keep the executable bit tracked in git:
`pwsh
git update-index --add --chmod=+x package/dist/linux-x64/cascadium
git update-index --add --chmod=+x package/dist/linux-arm64/cascadium
git update-index --add --chmod=+x package/dist/osx-x64/cascadium
git update-index --add --chmod=+x package/dist/osx-arm64/cascadium
`
License
Distributed under the MIT License. See LICENSE` for details.