Rivet is a minimal, fast task runner written in Go with an embedded Lua scripting engine. Full documentation is available at docs.go-rivet.dev.
Create a Taskfile.yml and run rivet greet:
version: 42
vars:
NAMES: [Ada, Linus, Grace]
tasks:
greet:
cmds:
- lua: |
for _, name in ipairs(ctx.vars.NAMES) do
if name ~= "Linus" then
rivet.task("hello", {NAME = name})
end
end
hello:
cmds:
- echo "Hello, {{.NAME}}!"- Embedded Lua VM: Write loops and logic directly in Lua instead of complex YAML templates and shell scripts.
- Single Static Binary: Standalone executable with zero runtime dependencies.
- Minimal Overhead & Container Ready: Built for speed with official images available from GitHub Container Registry.
- Go Install:
go install github.com/go-rivet/rivet/cmd/rivet@latest - Automated Script (Linux):
curl -sSL https://raw.githubusercontent.com/go-rivet/rivet/main/install.sh | sh - Prebuilt Binaries: Available for Linux and Windows on GitHub Releases.
- Docker: Pull from
ghcr.io/go-rivet/rivet:latestorghcr.io/go-rivet/rivet:latest-alpine.
Use make commands for building and testing:
# Setup a development environment.
make deps
# Build Rivet.
make build
make install
# Release build (Linux and Windows).
make release
# Development commands.
make test
make test-all
make lint
# Run a single script test.
make test TEST=TestScript/vars/vars.sh.cache
# Other make commands:
make helpThis project is licensed under the MIT License.
- Copyright (c) 2026 Timothy Rule (Modifications and current project)
- Copyright (c) 2016 Andrey Nering (Original base project)
See the LICENSE file for the full license text.