# Getting Started

### Prerequisites

Before you begin, ensure you have the following prerequisites:

* A code editor or IDE of your choice.
* Git installed on your system.
* Rust installed on your system.
* A terminal or command prompt.

### Installation

To start using NebuLang, follow these steps:

#### **Clone the NebuLang Repository**

Open your terminal and run the following command to clone the NebuLang repository from GitHub:

<pre class="language-bash" data-full-width="false"><code class="lang-bash"><strong>git clone https://github.com/nethriis/nebulang
</strong></code></pre>

#### Run the install script

```bash
cd nebulang
./install
```

### Running NebuLang programs

Once you have NebuLang installed, you can start writing and running NebuLang programs.

#### Create a NebuLang file

Using your preferred code editor, create a new file with a `.nbl` extension. For example, `hello.nbl`.

#### Write your NebuLang code

{% code title="hello.nbl" %}

```javascript
set message: String = "Hello, World!";
Write(message);
emit 0;
```

{% endcode %}

#### Running your NebuLang file

Open your terminal, navigate to the directory where your NebuLang file is located, and run the NebuLang interpreter with your file as an argument:

```bash
nebulang hello.nbl
```

The output of your program will be displayed in the terminal.

### Congratulations!

You've successfully set up NebuLang and run your first NebuLang program. You can now explore the language further, refer to the documentation for detailed information on NebuLang's features, and start building your own applications.

Happy coding with NebuLang!


---

# 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://nethris-1.gitbook.io/nebulang/introduction/getting-started.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.
