> For the complete documentation index, see [llms.txt](https://docs.krnl.xyz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.krnl.xyz/getting-started/getting-started-with-krnl.md).

# Getting Started

There are **two primary options** for developing using KRNL:

* Our Command-Line Interface (CLI)
* Local development environment

<table data-card-size="large" data-view="cards"><thead><tr><th></th><th></th><th data-hidden data-card-target data-type="content-ref"></th><th data-hidden data-card-cover data-type="image">Cover image</th></tr></thead><tbody><tr><td><strong>Command-line Interface (CLI)</strong></td><td>Use the KRNL command-line interface (CLI) for a flexible local development experience with full control over deployment.</td><td><a href="/pages/Fus9r2Eqo41yTO6CjY7u">/pages/Fus9r2Eqo41yTO6CjY7u</a></td><td><a href="/files/vzMwvaU5qk3WAaSIhCKp">/files/vzMwvaU5qk3WAaSIhCKp</a></td></tr><tr><td><strong>Local Development</strong></td><td>Get started immediately with a local development environment with minimal installation.</td><td><a href="/pages/zQ3nxByVR8cA4m702PgN">/pages/zQ3nxByVR8cA4m702PgN</a></td><td><a href="/files/vEJHJF4smbMGmDbeWTap">/files/vEJHJF4smbMGmDbeWTap</a></td></tr></tbody></table>

Both options support the complete workflow development lifecycle for utilizing the KRNL Protocol.

For additional help and resources, [join our community](https://discord.gg/krnl-labs).


---

# 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://docs.krnl.xyz/getting-started/getting-started-with-krnl.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.
