This README provides detailed instructions on how to install the required packages and tools for your system.
- Make sure Homebrew is installed on your system. If not, install it using the following command:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh>)"
- Install Parallel
brew install parallel
- Install Kubernetes CLI
brew install kubernetes-cli
- Install Helm
brew install helm
- Install Golang Migrate
brew install golang-migrate
- Install psql
If you have postgresql pre-installed on your system, you can skip this step.
Run the following command to link the binary forcefully since brew avoids binary links if a link already exists. Here, libpq (a CLI-only client inclusive of psql, pg_dump) is linked the same way as the complete postgresql package. This might create issues if postgresql is already installed.
brew link --force libpq
- Install Telepresence
It's recommended not to use brew for this installation as it provides a non-open source version which might ask for trial expiration. Follow the below steps for Telepresence installation:
- Download and place telepresence inside
/usr/local/bin/
:
sudo curl -fL https://app.getambassador.io/download/tel2oss/releases/download/v2.15.1/telepresence-darwin-arm64 -o /usr/local/bin/telepresence
- Provide necessary permissions:
sudo chmod a+x /usr/local/bin/telepresence
- Golang Installation: Make sure Golang is installed on your system. If not, install it with Homebrew:
brew install go
Then, confirm the successful installation of Go:
go version
- Protobuf Installation:
brew install protobuf
- Installation of Protobuf Go Tools and GRPC-Gateway:
go install \
google.golang.org/protobuf/cmd/protoc-gen-go \
github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-grpc-gateway \
github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2 \
google.golang.org/protobuf/cmd/protoc-gen-go \
google.golang.org/grpc/cmd/protoc-gen-go-grpc \
github.com/rakyll/statik
Ensure you follow these steps sequentially for a smooth setup process.
After installation, verify the setup using these commands:
parallel --version
kubectl version
helm version
golang-migrate version
telepresence version