📀Installing the Kernel

This page describes about the available methods of installation.

The kernel simulator can be installed on all the supported platforms. The installation steps are straightforward, but must be followed in order to ensure that the kernel starts right.

Depending on your platform, the amount of disk space taken by KS and its runtime dependencies might vary. Select your platform below and follow the steps.

💻Windows🍎macOS🐧Linux📱Android

If you've installed a development version of Nitrocid, you may see a warning about such versions. You can, however, hide this warning by opting out of these messages by:

  1. Executing the settings command

  2. Opening the General section

  3. Enabling the Development notice acknowledged option

Verifying intregrity

You can verify the integrity of all the Nitrocid release assets using the two methods:

  • GitHub Attestations

  • Manual Hashing

Attestations

GitHub have recently introduced a new feature that allows you to verify a binary artifact that a workflow has generated, called the Attestations. To verify your download, once you've downloaded one of the Nitrocid zip files, follow these steps:

  1. Install GH CLI 2.49.0 or higher.

  2. Sign in to your GitHub account using gh auth login.

  3. Run this command: gh attestation verify <version>-bin.zip --owner Aptivi, where <version> is a version of Nitrocid that you've downloaded.

If everything is OK, you should see the below message, such as one for 0.1.0.10:

Loaded digest sha256:6030eb1eb660f336d8b070202c598e8f51e50c8b9ca9084f30aa8d40ecbb996f for file://0.1.0.10-bin-lite.zip
Loaded 1 attestation from GitHub API
✓ Verification succeeded!

sha256:6030eb1eb660f336d8b070202c598e8f51e50c8b9ca9084f30aa8d40ecbb996f was attested by:
REPO               PREDICATE_TYPE                  WORKFLOW
Aptivi/NitrocidKS  https://slsa.dev/provenance/v1  .github/workflows/prepdraft.yml@refs/tags/v0.1.0.10

Manual hashing

After you've downloaded the ZIP file, follow these steps:

  1. Download the hashsums.txt file that matches your version.

  2. Open the file to get expected hash sums.

  3. Select one of the bin/lite versions and use the sha256sum command against the file.

  4. Compare the output.

Last updated