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

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