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
-
Extract the archive:
tar -xzf cnspec_*.tar.gz -
Move the binary to a directory in your PATH:
sudo mv cnspec /usr/local/bin/ -
Verify the installation:
cnspec version
-
Extract the
.ziparchive. -
Move
cnspec.exeto a directory in your system PATH, or add the directory containing the binary to your PATH environment variable. -
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_TOKENTo learn more, read Register cnspec.