> 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/advanced-and-power-users/building-the-kernel.md).

# Building the Kernel

Building Nitrocid on your computer is great, since this software is already open-source under the [GNU GPL v3.0](https://github.com/Aptivi/Kernel-Simulator/blob/master/LICENSE) license. To be able to build Nitrocid, choose your platform below.

{% content-ref url="/pages/YpKRLiwKbKpE1koaCpaZ" %}
[Building on Windows](/aptivi/nitrocid-ks-manual/advanced-and-power-users/building-the-kernel/building-on-windows.md)
{% endcontent-ref %}

{% content-ref url="/pages/uoa55SbQL61BuVXpauK1" %}
[Building on macOS](/aptivi/nitrocid-ks-manual/advanced-and-power-users/building-the-kernel/building-on-macos.md)
{% endcontent-ref %}

{% content-ref url="/pages/i4WSxscOZ17Gtn9ih8BM" %}
[Building on Linux](/aptivi/nitrocid-ks-manual/advanced-and-power-users/building-the-kernel/building-on-linux.md)
{% endcontent-ref %}

{% content-ref url="/pages/pZYQCIKD8e6ftbDhm9rY" %}
[Building on FreeBSD](/aptivi/nitrocid-ks-manual/advanced-and-power-users/building-the-kernel/building-on-freebsd.md)
{% endcontent-ref %}

{% content-ref url="/pages/aQ5KfDTEUEf9y2eomwSf" %}
[Building on Android](/aptivi/nitrocid-ks-manual/advanced-and-power-users/building-the-kernel/building-on-android.md)
{% endcontent-ref %}

{% hint style="info" %}
Depending on the selected platform, you may need to have different dependencies installed. You can also use the command line to build it.
{% endhint %}


---

# 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/advanced-and-power-users/building-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.
