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

# Getting Started

Learn how to get Zaidlang up and running on your local machine.

### What is Zaidlang? <a href="#what-is-ghost" id="what-is-ghost"></a>

Zaidlang is a small, class-based scripting language.

### Installing Zaidlang <a href="#installing-ghost" id="installing-ghost"></a>

#### Direct Download <a href="#direct-download" id="direct-download"></a>

You may download the compiled binaries for your platform from our GitHub [releases](https://github.com/zaid-language/zaidlang/releases/tag/v1.0.1) page.

{% tabs %}
{% tab title="Windows" %}

| Archives                                                                                                                                                                        | Size    |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------- |
| [zaidlang\_1.0.0\_windows\_386.zip](https://github.com/zaid-language/zaid-lang/releases/download/v1.0.0/zaidlang_1.0.0_windows_386.zip)                                         | 2.1 MB  |
| [zaidlang\_1.0.0\_windows\_amd64.zip](https://github.com/zaid-language/zaid-lang/releases/download/v1.0.0/zaidlang_1.0.0_windows_amd64.zip) **(Recomended for Intel Chip PCs)** | 2.16 MB |
| [zaidlang\_1.0.0\_windows\_arm64.zip](https://github.com/zaid-language/zaid-lang/releases/download/v1.0.0/zaidlang_1.0.0_windows_arm64.zip)                                     | 1.98 MB |
| [zaidlang\_1.0.0\_windows\_armv6.zip](https://github.com/zaid-language/zaid-lang/releases/download/v1.0.0/zaidlang_1.0.0_windows_armv6.zip)                                     | 2.05 MB |
| {% endtab %}                                                                                                                                                                    |         |

{% tab title="Linux" %}

| Archives                                                                                                                                      | Size    |
| --------------------------------------------------------------------------------------------------------------------------------------------- | ------- |
| [zaidlang\_1.0.0\_linux\_386.tar.gz](https://github.com/zaid-language/zaid-lang/releases/download/v1.0.0/zaidlang_1.0.0_linux_386.tar.gz)     | 2.04 MB |
| [zaidlang\_1.0.0\_linux\_amd64.tar.gz](https://github.com/zaid-language/zaid-lang/releases/download/v1.0.0/zaidlang_1.0.0_linux_amd64.tar.gz) | 2.14 MB |
| [zaidlang\_1.0.0\_linux\_arm64.tar.gz](https://github.com/zaid-language/zaid-lang/releases/download/v1.0.0/zaidlang_1.0.0_linux_arm64.tar.gz) | 1.96 MB |
| [zaidlang\_1.0.0\_linux\_armv6.tar.gz](https://github.com/zaid-language/zaid-lang/releases/download/v1.0.0/zaidlang_1.0.0_linux_armv6.tar.gz) | 2.01 MB |
| {% endtab %}                                                                                                                                  |         |

{% tab title="Mac" %}

| Archives                                                                                                                                        | Size    |
| ----------------------------------------------------------------------------------------------------------------------------------------------- | ------- |
| [zaidlang\_1.0.0\_darwin\_amd64.tar.gz](https://github.com/zaid-language/zaid-lang/releases/download/v1.0.0/zaidlang_1.0.0_darwin_amd64.tar.gz) | 2.2 MB  |
| [zaidlang\_1.0.0\_darwin\_arm64.tar.gz](https://github.com/zaid-language/zaid-lang/releases/download/v1.0.0/zaidlang_1.0.0_darwin_arm64.tar.gz) | 2.11 MB |
| {% endtab %}                                                                                                                                    |         |
| {% endtabs %}                                                                                                                                   |         |

{% hint style="info" %}

#### For Windows

1. Once extracted put the folder to "C:\Program Files"
2. After the copy the folders path and setup the environment variable using this [blog](https://www.computerhope.com/issues/ch000549.htm).
   {% endhint %}

#### Brew:beer:(Let us kow if it works) <a href="#brew" id="brew"></a>

If you're on Mac, you may use `homebrew`:

```bash
$ brew tap zaid-language/zaid-lang
$ brew install zaid-language/zaid-lang/zaid-lang
```

#### Go Install (Not working currently) <a href="#go-install" id="go-install"></a>

If you have Go installed, you may use `go install`:

```bash
$ go install github.com/zaid-language/zaid-lang
```

### Building Zaidlang <a href="#building-ghost" id="building-ghost"></a>

If you're on a Unix or Mac machine, you can easily download the source code and build directly:

```bash
git clone https://github.com/zaid-language/zaid-lang
cd zaid-lang
make
```

This downloads and builds the latest version of Zaidlang found on GitHub. You will be put inside a fresh instance of `zaid` if everything was successful.

### Interactive Mode <a href="#interactive-mode" id="interactive-mode"></a>

If you just run `zaid` without any arguments, it starts the interpreter in interactive mode (aka, REPL mode, *read-eval-print loop*). You can type in a line of code, and immediately execute it. While in this mode, your state is saved until you exit the program. Meaning if you define a variable, you may reference the variable later on.

Ready to give Zaidlang a spin?

```dart
printftw("Hello, world!")
```

Once you have Zaidlang setup and installed, you're ready to jump into [learning the language](/z/language/syntax.md).
