Last active
March 10, 2023 15:19
-
-
Save kmpm/a83912c95009561ff6c6dcc9a2373751 to your computer and use it in GitHub Desktop.
install various nats.io tools on linux
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# curl -fsSL https://gist.githubusercontent.com/kmpm/a83912c95009561ff6c6dcc9a2373751/raw/nats-setup-linux.sh | bash | |
export DEBIAN_FRONTEND=noninteractive | |
apt-get install -y unzip curl | |
echo "Downloading nsc install script" | |
curl -fsSL https://raw.githubusercontent.com/nats-io/nsc/master/install.sh -o /tmp/nsc-install.sh | |
echo "Running nsc install script" | |
sh /tmp/nsc-install.sh -d /usr/local/bin | |
echo "Downloading nats client deb" | |
curl -fsSL https://github.com/nats-io/natscli/releases/download/v0.0.35/nats-0.0.35-amd64.deb -o /tmp/nats-0.0.35-amd64.deb | |
echo "Installing nats client deb" | |
dpkg -i /tmp/nats-0.0.35-amd64.deb | |
apt-get install -f |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment