# Getting Started

## Installing the Language

In order to get the Wu compiler you'll need to first make sure you've installed Rust. This can be done using the following, or by following the instructions on [their official website](https://rust-lang.org).

```
$ curl https://sh.rustup.rs -sSf | sh
```

You can then proceed to installing the Wu Compiler through the Github repository.

```
$ git clone https://github.com/wu-lang/wu
$ cd wu/
$ cargo install --path .
```

Now, you should see something along the lines of the following, when running the compiler.

```
$ wu
The Wu Compiler
- made by Niels

Usage:
  wu                # Show this message
  wu <file>         # Compile .wu file to corresponding .lua file
  wu <folder>       # Compile all .wu files in given folder
  wu clean <folder> # Removes all compiled .lua files in given folder
```


---

# 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://wu-lang.gitbook.io/guide/readme.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.
