Installing on Linux
To use Inspektor Gadget on a Linux machine, choose one of the following methods:
Install a specific release
It is possible to download the asset for a given release and platform from the releases page.
For instance, to download the latest release for linux-amd64:
$ IG_VERSION=$(curl -s https://api.github.com/repos/inspektor-gadget/inspektor-gadget/releases/latest | jq -r .tag_name)
$ IG_ARCH=amd64
$ curl -sL https://github.com/inspektor-gadget/inspektor-gadget/releases/download/${IG_VERSION}/ig-linux-${IG_ARCH}-${IG_VERSION}.tar.gz | sudo tar -C /usr/local/bin -xzf - ig
$ ig version
We strongly advise you to verify ig by following our detailed instructions.
Install from distribution package
ig is packaged for the following distributions: