macOS Installation
Install ingress2gateway on macOS
Set the environment variables.
VERSION=v0.4.0 OS=Darwin # One of arm64|x86_64 ARCH=arm64Refer to the releases page for a list of published ingress2gateway versions.
Download the release.
curl -LO "https://github.com/kgateway-dev/ingress2gateway/releases/download/${VERSION}/ingress2gateway_${OS}_${ARCH}.tar.gz"Optional: Validate the release tarball.
Download the ingress2gateway checksum file.
curl -LO https://github.com/kgateway-dev/ingress2gateway/releases/download/${VERSION}/checksums.txtValidate the binary against the checksum file.
grep -F " ingress2gateway_${OS}_${ARCH}.tar.gz" checksums.txt | shasum -a 256 --checkIf valid, the output is:
ingress2gateway_$OS_$ARCH.tar.gz: OKExtract the tarball.
tar -xvf ingress2gateway_${OS}_${ARCH}.tar.gzMove the binary to a file location on your system PATH.
sudo mv ./ingress2gateway /usr/local/bin/ingress2gateway sudo chown root: /usr/local/bin/ingress2gatewayNote: Make sure /usr/local/bin is in your PATH environment variable.
Test the installation by checking the version of the binary.
ingress2gateway version