macOS Installation
Install ingress2gateway on macOS
-
Set the environment variables:
VERSION=v0.3.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" -
Validate the release tarball (optional)
Download the ingress2gateway checksum file:
curl -LO https://github.com/kgateway-dev/ingress2gateway/releases/download/${VERSION}/checksums.txtValidate the binary against the checksum file:
echo "$(cat checksums.txt) ingress2gateway" | shasum -a 256 --checkIf valid, the output is:
ingress2gateway_$OS_$ARCH.tar.gz: OK -
Extract the tarball:
tar -xvf ingress2gateway_${OS}_${ARCH}.tar.gz -
Move 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