Skip to content

Instantly share code, notes, and snippets.

@zackproser
Created May 1, 2023 12:17
Show Gist options
  • Save zackproser/741ca851871102f2882a6d0c3048cf8d to your computer and use it in GitHub Desktop.
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
#!/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