Installation

Install the cnspec Standalone Binary

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

Mondoo provides standalone binary builds of cnspec for all supported operating systems and architectures. Use the standalone binary when a package-based installer isn't available for your platform or when you need a self-contained binary for automation.

If a package-based installer is available for your platform, we recommend using a package-based installation instead so you can benefit from easy upgrades.

Download the binary

Visit the cnspec release page and download the archive for your operating system and architecture.

Archives for Linux and macOS are packaged as .tar.gz files. Archives for Windows are packaged as .zip files.

Install cnspec

  1. Extract the archive:

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

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

    cnspec version
  1. Extract the .zip archive.

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

  3. Open a new terminal and verify the installation:

    cnspec version

Register with Mondoo Platform

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

cnspec login --token $MONDOO_REGISTRATION_TOKEN

To learn more, read Register cnspec.

Learn more

On this page