Installation

Install the cnspec Standalone Binary

Download and install the cnspec standalone binary on any supported operating system.

Mondoo publishes standalone binary builds of cnspec for every supported operating system and architecture. Use them when no package-based installer is available for your platform, or when you need a self-contained binary for automation, CI/CD, or air-gapped deployments.

When a package-based installer is available, prefer it over the standalone binary so you get automatic upgrades. See the installation overview for the right installer for your platform.

Download the binary

Open the cnspec release page and download the archive that matches your operating system and architecture. Linux and macOS archives are .tar.gz files; Windows archives are .zip files.

Install cnspec

  1. Extract the archive:

    tar -xzf cnspec_*.tar.gz
  2. Move the binary to a directory on your PATH:

    sudo mv cnspec /usr/local/bin/
  3. Verify the install:

    cnspec version
  1. Extract the .zip archive.

  2. Move cnspec.exe to a directory on your system PATH, or add the directory containing the binary to your PATH environment variable.

  3. Open a new terminal and verify the install:

    cnspec version

Register with Mondoo Platform

To send scan results to Mondoo Platform, register cnspec with a registration token:

cnspec login --token "YOUR_REGISTRATION_TOKEN"

For details on registration tokens and how to find one, read Register cnspec.

Learn more

On this page