#"Downloading CLI..." at every run

1 messages · Page 1 of 1 (latest)

feral mulch
#

Hi all. I'm trying out Dagger for the first time, but I'm on a pretty crappy Internet connection. I ran npm init; npm i @dagger.io/dagger, wrote a first pipeline, it works. The issue is that every time I run node pipeline.mjs I see Downloading CLI... and then after few seconds it's either OK! or errors like InitEngineSessionBinaryError: failed to download dagger cli binary: FetchError: request to https://dl.dagger.io/dagger/releases/0.8.2/dagger_v0.8.2_darwin_arm64.tar.gz failed, reason: getaddrinfo ENOTFOUND dl.dagger.io. Is there a way to only make it download the binary once?

macOS 13.4.1c, M1 Pro, lima 0.16.0, nerdctl 1.4.0

timber forum
#

Hi @feral mulch , you can download the CLI manually and wrap your command with dagger run.

So dagger run node pipeline.mjs