@pacphi/sindri-cli
v3.1.3
Published
Sindri CLI — declarative cloud development environment manager
Downloads
21
Readme
@pacphi/sindri-cli
The Sindri CLI distributed as an npm package.
Installation
npm install -g @pacphi/sindri-cli
# or
pnpm add -g @pacphi/sindri-cliUsage
sindri --help
sindri extension list --all --json
sindri profile list --json
sindri version --jsonHow it works
This package uses the optionalDependencies + platform packages pattern (same as esbuild, Biome, and SWC).
On install, npm/pnpm selects only the platform-specific binary package that matches your OS and
CPU. The wrapper lib/index.js resolves the correct binary path and delegates all CLI arguments
to it.
Supported platforms
| Platform | Package |
| ------------------- | --------------------------------- |
| macOS Apple Silicon | @pacphi/sindri-cli-darwin-arm64 |
| macOS Intel | @pacphi/sindri-cli-darwin-x64 |
| Linux x64 | @pacphi/sindri-cli-linux-x64 |
| Linux arm64 | @pacphi/sindri-cli-linux-arm64 |
| Windows x64 | @pacphi/sindri-cli-win32-x64 |
Programmatic usage
const { getInstalledBinaryPath } = require("@pacphi/sindri-cli");
const bin = getInstalledBinaryPath();
// bin = "/path/to/node_modules/@pacphi/sindri-cli-linux-x64/sindri"Environment variables
| Variable | Description |
| ---------------------- | ------------------------------------------------ |
| SINDRI_BIN_PATH | Override the binary path entirely |
| SINDRI_SKIP_DOWNLOAD | Set to 1 to skip postinstall download fallback |
Version alignment
The npm package version is always identical to the Rust binary version (Cargo.toml
is the single source of truth). Releases are automated via
cargo-dist on git tag v3.x.y.
