Rat docs

Install

Get Rat

One static binary with no runtime, package manager, or dependencies. Install it and start a new project in seconds.

Install with one command

curl -fsSL https://rat-lang.com/install.sh | sh

Installs to ~/.rat/bin and adds it to your shell profile. Pick a different location with RAT_INSTALL=/path.

powershell -c "irm https://rat-lang.com/install.ps1 | iex"

Installs to LOCALAPPDATA\Programs\Rat and adds it to your user PATH. No admin rights needed.

What the installer does

Direct downloads

Prefer not to pipe a script into your shell? Grab the archive straight from the latest release. Every asset below resolves to it.

platformarchitecturefile
Windowsx64rat-windows-amd64.zip
Windowsarm64rat-windows-arm64.zip
macOSApple siliconrat-darwin-arm64.tar.gz
macOSIntelrat-darwin-amd64.tar.gz
Linuxx64rat-linux-amd64.tar.gz
Linuxarm64rat-linux-arm64.tar.gz

Build from source

The CLI is pure Go. Go 1.25 or newer is the only requirement.

git clone https://github.com/angelo-wolff-code/Rat.git
cd Rat/rat-go
go build -o rat ./cmd/rat

After installing

rat new my-app
cd my-app
rat start
[rat] compiled 14 files in 1.8ms
[rat] ready at http://127.0.0.1:8000 (mode: dev, hot-reload: on)

From there, setup walks the project layout and hello world explains the smallest possible page.