# Installing Prerequisites

Before you start, you must have a few things installed.

1. [Download and install Java](https://www.oracle.com/java/technologies/javase-jdk15-downloads.html) (version 11+ recommended, but 1.8+ should work).
2. [Download and install Scala](https://www.scala-lang.org/download/) (specifically, version 2.12; Scala 2.13 is not yet supported).\
   Note that on the Mac, [the easiest way to install Scala is by using Homebrew](https://formulae.brew.sh/formula/scala@2.12).
3. [Download and install `sbt`](https://www.scala-sbt.org/download.html)†.

   Note that on the Mac, [the easiest way to install `sbt` is by using Homebrew](https://formulae.brew.sh/formula/sbt).

#### Download AutoMan

The easiest way to install AutoMan is to manage your application's build using `sbt` by creating a `build.sbt` file.  This tutorial will explain how to do that, step-by-step.  But if you already know how to use `sbt`, just add the following dependency to your `libraryDependencies` section.

```
"org.automanlang" %% "automan" % "1.4.2"
```

`sbt` will download an AutoMan JAR and store it locally on your machine, along with all of AutoMan's dependencies.

† [Pronounced like this](https://www.youtube.com/watch?v=pQlPjUSj7no). The `sbt` authors [insist "sbt" does not stand for "Scala build tool"](https://www.scala-sbt.org/1.x/docs/Faq.html), so... fair game.


---

# 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.automanlang.org/getting-started/installation-tutorial.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.
