Can you install the doppler CLI in the Vercel build environment?

Pretty much the title - is this possible?

@alexbjorlig The Doppler CLI is a single binary. Assuming the build environment has either curl or wget to fetch our install script at https://cli.doppler.com/install.sh and the gpg binary available (i.e., the gnupg package), then you should be able to install it pretty easily by making your build command a script and then having your script fetch and execute the install script like this:

(curl -Ls --tlsv1.2 --proto "=https" --retry 3 https://cli.doppler.com/install.sh || wget -t 3 -qO- https://cli.doppler.com/install.sh) | sh -s -- --debug --install-path /some/path/you/can/write/to

If you don’t have the gnupg package available, you could still fetch the binary directly from our site here:

https://cli.doppler.com/download

The binary is available in tar archives there. Once you have the binary downloaded, you just need to add it to the PATH or execute it using its full path.

Will that work for you?