Created
May 1, 2023 12:17
-
-
Save zackproser/741ca851871102f2882a6d0c3048cf8d to your computer and use it in GitHub Desktop.
A shell script to install an arbitrary version of HashiCorp Nomad on a Linux system
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
#!/usr/bin/env bash | |
TARGET_RELEASE="1.5.3" | |
cd "$(mktemp -d)" || exit | |
wget https://releases.hashicorp.com/nomad/${TARGET_RELEASE}/nomad_${TARGET_RELEASE}_linux_amd64.zip | |
unzip nomad_${TARGET_RELEASE}_linux_amd64.zip | |
sudo cp nomad /usr/local/bin | |
nomad --version |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment