@cascode/cascode-cli
v0.7.3
Published
Cascode CLI installer wrapper. Installs a prebuilt cascode binary for your platform.
Maintainers
Readme
@cascode/cascode-cli (npm wrapper)
This package enables a one-line install of the Cascode CLI via npm:
npm install -g @cascode/cascode-cliHow it works
On install, a small script downloads a prebuilt, self-contained
cascodebinary for your OS/architecture from the GitHub Releases page.The
cascodecommand is provided via the packagebinand forwards args to the binary.Simulator dependencies are managed by the CLI. Install ngspice with:
cascode install ngspiceThis default path downloads a prebuilt ngspice package from the same GitHub release tag as the installed Cascode CLI version. To force source mode, run:
cascode install ngspice --from-source
Environment variables
CASCODE_DOWNLOAD_BASE(optional): override the GitHub Releases base URL, e.g.https://your.mirror.example.com/cascode/releases/download.CASCODE_VERSION(optional): if set, use this version instead ofpackage.json.
Fallbacks
If a prebuilt binary cannot be downloaded (e.g., due to network policy), you can install the .NET global tool version:
dotnet tool install -g Cascode.Cli
Notes
- Release artifacts are expected to be named
cascode-<rid>.<zip|tar.gz>, where rid is one of:win-x64,win-arm64,osx-x64,osx-arm64,linux-x64,linux-arm64. - The repository’s release workflow should publish those assets alongside tags matching the npm package version.
