> For the complete documentation index, see [llms.txt](https://nethris-1.gitbook.io/nebulang/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://nethris-1.gitbook.io/nebulang/introduction/getting-started.md).

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