sqlc is distributed as a single binary with zero dependencies.
brew install sqlc
sudo snap install sqlc
go install github.com/kyleconroy/sqlc/cmd/sqlc@latest
go get github.com/kyleconroy/sqlc/cmd/sqlc
docker pull kjconroy/sqlc
Run sqlc
using docker run
:
docker run --rm -v $(pwd):/src -w /src kjconroy/sqlc generate
Get pre-built binaries for v1.11.0: