If you need a specific version of Dagger, you can install it using the following command:
curl -fsSL https://dl.dagger.io/dagger/install.sh | BIN_DIR=/usr/local/bin DAGGER_VERSION=vX.Y.Z sudo -E sh
Alternatively, you can use Arkade to install Dagger:
sudo arkade get --path /usr/local/bin dagger --version vX.Y.Z