# Getting started

> Install laight, scaffold a project and run your first workflow of coding agents.

Source: https://laight.dev/docs/getting-started/

## Requirements

- macOS or Linux
- [tmux](https://github.com/tmux/tmux)
- git, and [gh](https://cli.github.com/) for workflows that open pull requests
- [Claude Code](https://docs.claude.com/en/docs/claude-code/overview)

## Install

Packaged releases are planned. Until then, build from source with Go:

```bash
go install github.com/berni23/laight/cmd/laight@latest
```

Once released:

```bash
brew install berni23/tap/laight   # also installs tmux
laight doctor                     # checks tmux, git, the runtimes and hooks
```

## Your first run

```bash
cd your-repo
laight init                 # scaffolds .laight/ with an issue-cycle workflow
laight validate             # schema and semantic checks
laight run issue-cycle      # spins up the rig and follows it live
```

While it runs:

```bash
laight inbox                # everything waiting for you, across all runs
laight attach <run> impl    # jump into an agent's terminal
laight abort <run>          # asks first, then tears down only that rig
```

Run arguments take an id prefix, or nothing when exactly one run of the project is live.

Next: [Workflows](/docs/workflows/).
