# Quick Start

Get LinuxGuard running on your Linux system in 5 minutes.

## Prerequisites

Before starting, ensure you have:

* Linux system with kernel 4.18 or later (required for eBPF)
* Root or sudo access
* API Key and Tenant ID from the LinuxGuard console
* Network access to `api.linuxguard.io` and `packages.linuxguard.io`

For full system requirements, see the [Prerequisites](/how-to-guides/how-to/prerequisites.md) guide.

## Step 1: Install

Run the unified installer to download and install the LinuxGuard agent:

```bash
curl -fsSL https://packages.linuxguard.io/install-linuxguard.sh | sudo bash
```

The installer automatically detects your Linux distribution and configures the appropriate package repository.

For installation options and troubleshooting, see the [Installation Guide](/how-to-guides/how-to/installation.md).

## Step 2: Enroll

Connect the agent to your LinuxGuard tenant:

```bash
sudo linuxguard-agent enroll --api-key=<API_KEY> --tenant-id=<TENANT_ID>
```

Replace:

* `<API_KEY>` with your API key from the LinuxGuard console
* `<TENANT_ID>` with your tenant ID

You can find both credentials in the **Settings** page of the LinuxGuard console.

**Expected output:**

```
>> Sending initial snapshot...
>> Initial snapshot sent successfully
>> Successfully enrolled to LinuxGuard Endpoint: https://api.linuxguard.io/v1/
```

For enrollment options like environments and tags, see the [Configuration Guide](/how-to-guides/how-to/configuration.md).

## Step 3: Verify

Confirm the agent is running:

```bash
sudo linuxguard-agent status
```

**Expected output:**

```
linuxguard-agent is running with PID: 12345
```

Your server should now appear in the LinuxGuard console within a few moments.

***

**Next Step**: [Console Overview →](/explanation/explanation/index.md)

**Related**: [Installation Guide](/how-to-guides/how-to/installation.md) | [Configuration](/how-to-guides/how-to/configuration.md) | [What Changed](/explanation/explanation/index/whats-changed.md) | [Agent Commands](/reference/reference/agent-commands.md)


---

# Agent Instructions: 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:

```
GET https://docs.linuxguard.io/tutorials/tutorials/quick-start.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
