Install
- brew
- curl
- go
brew install cludden/formula/protoc-gen-go_temporal
curl -L https://raw.githubusercontent.com/cludden/protoc-gen-go-temporal/main/scripts/install.sh | bash
warning
This installation method omits detailed version metadata in generated file headers.
go install github.com/cludden/protoc-gen-go-temporal/cmd/protoc-gen-go_temporal@<version>
Dependencies
1. Install buf
- brew
- curl
brew install bufbuild/buf/buf
# Substitute BIN for your bin directory.
# Substitute VERSION for the current released version.
BIN="/usr/local/bin" && \
VERSION="1.30.0" && \
curl -sSL \
"https://github.com/bufbuild/buf/releases/download/v${VERSION}/buf-$(uname -s)-$(uname -m)" \
-o "${BIN}/buf" && \
chmod +x "${BIN}/buf"
2. Install protoc-gen-go
- brew
- go
brew install protoc-gen-go
go install google.golang.org/protobuf/cmd/protoc-gen-go@latest
3. Install temporal
- brew
- curl
brew install temporal
curl -sSf https://temporal.download/cli.sh | sh