Prerequisites
Build Prerequisites
Install Go
Temporal Server requires Go 1.26.0 or later (check Ubuntu:Verify installation:
go.mod for the current minimum version).macOS:Install Protocol Buffers Compiler (Optional)
Only required if you plan to modify Other platforms:
Download from the protoc release page.
.proto files.macOS:Install Temporal CLI
The Temporal CLI is used for interacting with the server during development.Homebrew:Manual install:
Download from github.com/temporalio/cli
Install Docker
Docker is required for running runtime dependencies (databases, Elasticsearch, etc.).Follow the Docker installation guide for your platform.
It’s possible to run dependencies directly on the host OS instead of Docker. See the run dependencies on host guide for details.
Windows Development
For Windows developers, install Windows Subsystem for Linux 2 (WSL2) and Ubuntu, then follow the Ubuntu instructions above.Clone the Repository
Temporal uses Go modules, so there’s no dependency on the$GOPATH variable. Clone the repository to your preferred location:
Start Runtime Dependencies
The Temporal server can run with SQLite as an in-memory database, making runtime dependencies optional. However, for full-featured development and testing, start the optional dependencies:- Cassandra (database)
- PostgreSQL (database)
- MySQL (database)
- Elasticsearch (visibility)
- Temporal Web UI (available at
localhost:8080) - Grafana (metrics, available at
localhost:3000)