Install and verify
Use Node.js 24 LTS. Run the first check from a project directory.
npx --yes shipwitness@0.1.1 verify --only secretsInstall the CLI globally if you plan to use it regularly.
npm install --global shipwitness@0.1.1
shipwitness verify --only secretsUse shipwitness init --interactive to choose mandatory checks. For an agent, follow the integration guides to set up the read-only MCP connection for one workspace.
The published v0.1.1 package declares Node.js 24 or newer. An exploratory Windows smoke test on Node.js 22.23.5 passed CLI verification, saved-evidence integrity, and MCP startup. The 72 dependency instances in that install had no declared engine conflict with 22.23.5. Node.js 22 remains outside the supported range until the full platform matrix is validated.
To build from source, use pnpm 11.25.0.
git clone https://github.com/saifmodan2006/ShipWitness.git
cd ShipWitness
pnpm install --frozen-lockfile
pnpm --filter shipwitness... run build
node packages/cli/dist/cli.js -C examples/working verify --plan
node packages/cli/dist/cli.js -C examples/working verify --approve --only build,test,secrets
node packages/cli/dist/cli.js -C examples/working dashboardOpen the local dashboard address printed by the last command. Pass the path to a project you control with -C, and run init there to create the initial configuration.
For Playwright checks, install Chromium explicitly with pnpm --filter shipwitness exec playwright install chromium. On Linux, the Playwright --with-deps option installs the system browser dependencies.
If your Linux distribution applies its browser sandbox profile to packaged Google Chrome, set SHIPWITNESS_CHROMIUM_CHANNEL=chrome to select that installation.
To build an installable package, run npm pack inside packages/cli after the build. Install the resulting tarball using npm install --global <tarball>, then use the shipwitness command.