Skip to main content
Back to Docs

Installation

Install the ImageSentinel CLI and configure your environment.

System Requirements

  • macOS 12+, Linux (Ubuntu 20.04+, Debian 11+), or Windows 10+ with WSL2
  • Docker 20.10+ or Podman 4.0+
  • Node.js 18+ (for npm installation method)

Install via npm

The recommended way to install the ImageSentinel CLI:

terminal
npm install -g @imagesentinel/cli

# Verify installation
imagesentinel --version

Install via Shell Script

For systems without Node.js, use our install script:

terminal
curl -sSL https://get.imagesentinel.io | sh

# Or with wget
wget -qO- https://get.imagesentinel.io | sh

Docker Installation

Run ImageSentinel CLI as a Docker container:

terminal
# Pull the CLI image
docker pull registry.imagesentinel.io/cli:latest

# Run a scan
docker run --rm -v /var/run/docker.sock:/var/run/docker.sock \
  registry.imagesentinel.io/cli scan myapp:latest

Next Steps

Once installed, follow our quick start guide to harden your first image.

Go to Quick Start