> For the complete documentation index, see [llms.txt](https://aptivi.gitbook.io/aptivi/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://aptivi.gitbook.io/aptivi/nitrocid-ks-manual/installation-and-maintenance/installing-the-kernel.md).

# Installation and Upgrade

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

{% hint style="danger" %}
We don't support starting Nitrocid KS from another environment other than direct execution. If Nitrocid detects that you're running it in such a configuration, functionality will be limited for your security.
{% endhint %}

{% hint style="danger" %}
We no longer support 32-bit platforms; hence we only support ARM64 and AMD64. Find out why [here](https://officialaptivi.wordpress.com/2024/08/03/final-word-regarding-32-bit-support/).
{% endhint %}

{% hint style="success" %}
It's a good practice to verify that your download is not corrupt using the methods outlined in the [Attestations](/aptivi/csharp-libraries/attestations.md) page.
{% endhint %}

***

## <mark style="color:$primary;">Select platform</mark>

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.

{% content-ref url="/pages/5CM863u9rVRxqSP1L8gA" %}
[Windows](/aptivi/nitrocid-ks-manual/installation-and-maintenance/installing-the-kernel/windows.md)
{% endcontent-ref %}

{% content-ref url="/pages/LtbkXuK7NE3rCY43KBPE" %}
[macOS](/aptivi/nitrocid-ks-manual/installation-and-maintenance/installing-the-kernel/macos.md)
{% endcontent-ref %}

{% content-ref url="/pages/W9P97SkpSt2PbbwFmXsd" %}
[Linux](/aptivi/nitrocid-ks-manual/installation-and-maintenance/installing-the-kernel/linux.md)
{% endcontent-ref %}

{% content-ref url="/pages/m6usmeWmt2pWUgqPHjG5" %}
[FreeBSD](/aptivi/nitrocid-ks-manual/installation-and-maintenance/installing-the-kernel/freebsd.md)
{% endcontent-ref %}

{% content-ref url="/pages/74yorrSR9pQcne5i5DWk" %}
[Android](/aptivi/nitrocid-ks-manual/installation-and-maintenance/installing-the-kernel/android.md)
{% endcontent-ref %}

***

## <mark style="color:$primary;">Important considerations for upgrades</mark>

{% hint style="warning" %}

## Stop!

Before you can upgrade, you need to consider the following:

* Mods will need to be upgraded to the version that you're upgrading to.
* Configuration backups, including those that are created by your mods, will have to be created before each upgrade.

As for upgrading to 0.1.0, old configuration styles are no longer supported and are kept in your home directory for reference. However, starting from 0.1.0.5, you can migrate most of your old-style configuration (as early as 0.0.16.0 released on 2021) to 0.1.0 and later. See why [here](/aptivi/nitrocid-ks-manual/versions-and-compatibility/compatibility-notes-for-ks-api-revisions/upgrading-to-api-v3.0-series/from-0.1.0-beta-2-to-0.1.0-beta-3.md).

As for upgrading to 0.2.0, you'll need to edit the speed dial entries manually to align with the latest JSON format. Find out [here](/aptivi/nitrocid-ks-manual/fundamentals/simulated-kernel-features/extra-features/more-networking.md#speed-dial-for-networked-shells).
{% endhint %}

Nitrocid KS can be upgraded in all supported platforms. However, some upgrades might break your mods and configuration files, so please be sure that you follow the compatibility notes which is linked below.

{% content-ref url="/pages/6lSxj0VWowRfYzWQmlal" %}
[Compatibility Notes for KS API Revisions](/aptivi/nitrocid-ks-manual/versions-and-compatibility/compatibility-notes-for-ks-api-revisions.md)
{% endcontent-ref %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://aptivi.gitbook.io/aptivi/nitrocid-ks-manual/installation-and-maintenance/installing-the-kernel.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
