Linux
Recommended for serversWindows
64-bit only
amd64Windows 10 / 11
wsl2WSL2 users → use Linux build
Quick install scripts
Let the script detect your OS and architecture automatically — no manual download needed.
$
curl -fsSL https://cocobase.buzz/install.sh | bash
✓
Detected linux/amd64
✓
Downloaded cocobase v0.1.1
✓
Installed to /usr/local/bin/cocobase
Run with Docker
Containerized deployment with persistent volumes and automatic restarts.
# build stage
FROM golang:1.22-alpine AS builder
WORKDIR /app
COPY go.mod go.sum ./
RUN go mod download
COPY . .
RUN CGO_ENABLED=0 go build -o cocobase ./cmd/cocobase
# runtime stage
FROM alpine:3.19
WORKDIR /app
COPY --from=builder /app/cocobase .
VOLUME ["/app/data"]
EXPOSE 8080
CMD ["./cocobase"]
FROM golang:1.22-alpine AS builder
WORKDIR /app
COPY go.mod go.sum ./
RUN go mod download
COPY . .
RUN CGO_ENABLED=0 go build -o cocobase ./cmd/cocobase
# runtime stage
FROM alpine:3.19
WORKDIR /app
COPY --from=builder /app/cocobase .
VOLUME ["/app/data"]
EXPOSE 8080
CMD ["./cocobase"]
Don't want to self-host? Try CocoBase Cloud
Managed hosting with real-time sync, cloud functions, 200+ edge nodes, and a free tier — no DevOps required.