Skip to content

Installation

iomi edited this page Nov 25, 2026 · 19 revisions

Installation

npm

npx @nassihyas/dep-vet npm express@5.3.0
npm install --global @nassihyas/dep-vet

The package bundles Linux (x64/arm64), macOS (x64/arm64), and Windows x64 binaries, picks one at runtime, and has no install script.

Cargo

cargo install dep-vet

Homebrew

brew tap nassih-yassine/tap
brew trust nassih-yassine/tap   # newer Homebrew refuses untrusted taps
brew install dep-vet

Windows — Scoop

scoop bucket add nassih-yassine https://github.com/nassih-yassine/scoop-bucket
scoop install nassih-yassine/dep-vet

The manifest lives in the personal bucket; Scoop's Extras bucket declined it on its popularity criteria.

Docker

docker run --rm -v "$PWD:/work" -w /work \
  ghcr.io/nassih-yassine/dep-vet:latest audit package-lock.json

The image is distroless (no shell), signed with cosign, and carries SBOM and provenance attestations.

Prebuilt archives and Linux packages

Every release carries vX.Y.Z tarballs/zip, shell and PowerShell installers, .deb, .rpm, .apk, and pacman packages for x86_64 and aarch64. The AUR dep-vet-bin package builds from the same static musl binaries.

Verify what you downloaded

Channel Integrity Authenticity
GitHub release archives .sha256 sidecar and sha256.sum SLSA provenance attestation
npm registry tarball digest no provenance attestation yet (account 2FA blocks trusted publishing)
Docker image digest cosign keyless signature, SBOM, provenance
crates.io .crate checksum from the index none
Linux packages built in CI from attested archives build provenance attestation
sha256sum -c dep-vet-x86_64-unknown-linux-musl.tar.xz.sha256
gh attestation verify dep-vet-x86_64-unknown-linux-musl.tar.xz \
  --repo nassih-yassine/Dep-Vet \
  --signer-workflow nassih-yassine/Dep-Vet/.github/workflows/release.yml \
  --source-ref refs/tags/v0.16.0

dep-vet inspect npm verifies npm Sigstore bundles offline; audits never claim cryptographic verification.

Update

dep-vet update           # latest, channel, update command
dep-vet update --check   # exit 1 when newer, 0 current, 3 failure

The passive hint on interactive runs is silent in CI, JSON/SARIF/file output, hook, MCP, guard, and watch. Disable it with DEPVET_NO_UPDATE_CHECK=1 or NO_UPDATE_NOTIFIER=1.

Clone this wiki locally