I'm trying to download nats-cli binary like this curl -sf https://binaries.nats.dev/nats-io/natscli/nats@latest | sh as one of the recommended methods of downloading the nats-cli, but everytime I try it says:
Failed to resolve requested version
I tried even for different versions v0.1.4 (latest), v0.1.3.
Expected behavior
Downloading the nats-cli binary
Server and client version
I don't think in this case the nats server version is relevant, as I don't have a problem with executing the nats-cli for the nats-server
Host environment
mac OS M2 arm64, but mainly I wanna run the nats-cli in a docker-container from this image:
FROM bash:latest
...
Steps to reproduce
running bash docker container with downloading the nast-cli binary
FROM bash:latest
RUN apk add --no-cache curl
CMD ["setup-nats.sh"]
setup-nats.sh
#!/usr/bin/env bash
set -euo pipefail
curl -sf https://binaries.nats.dev/nats-io/natscli/nats@latest | sh && mv nats /usr/local/bin/
nats --version
Observed behavior
I'm trying to download nats-cli binary like this
curl -sf https://binaries.nats.dev/nats-io/natscli/nats@latest | sh
as one of the recommended methods of downloading the nats-cli, but everytime I try it says:I tried even for different versions v0.1.4 (latest), v0.1.3.
Expected behavior
Downloading the nats-cli binary
Server and client version
I don't think in this case the nats server version is relevant, as I don't have a problem with executing the nats-cli for the nats-server
Host environment
mac OS M2 arm64, but mainly I wanna run the nats-cli in a docker-container from this image:
Steps to reproduce
running bash docker container with downloading the nast-cli binary
setup-nats.sh