---
url: https://wvlet.org/uni/book/ch01-00-getting-started.md
---
# 1. Getting Started

Before you can write Uni code, your machine needs a JDK, an sbt that
knows how to fetch Scala 3, and a project wired to pull Uni in. This
part of the book gets you there, then writes enough of a program to
prove everything is hooked up.

Two chapters, in order:

* [1.1 Installation](./ch01-01-installation) — prerequisites, a minimal
  `build.sbt`, and how to pull Uni into JVM-only, Scala.js, and Scala
  Native projects.
* [1.2 Hello, Uni!](./ch01-02-hello-uni) — your first runnable Uni
  program. It is only a dozen lines, but by the end of it you will
  have met the two concepts that thread through the rest of the book:
  **logging** and **Design** (object wiring).

By the end of Part I, a fresh clone of your project should compile and
run. Part II then turns that starting point into a real command-line
application.

[← Foreword](./foreword) | [Next → 1.1 Installation](./ch01-01-installation)
