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
- Downloads the latest release for your platform from GitHub releases.
- Copies a single
ratbinary into a folder under your home profile, with nothing system-wide and no admin prompt. - Adds that folder to your PATH so
ratworks in any new terminal. - Nothing else. No telemetry, no background services. Uninstalling is deleting the folder.
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.
| platform | architecture | file |
|---|---|---|
| Windows | x64 | rat-windows-amd64.zip |
| Windows | arm64 | rat-windows-arm64.zip |
| macOS | Apple silicon | rat-darwin-arm64.tar.gz |
| macOS | Intel | rat-darwin-amd64.tar.gz |
| Linux | x64 | rat-linux-amd64.tar.gz |
| Linux | arm64 | rat-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.