Do not blindly copy/paste this script. Read it and run only the parts that apply to your system.
# Use the appropriate binary for your OS and Archbinary="httpspec_linux_arm" # linux armbinary="httpspec_linux_x86" # linux x86binary="httpspec_mac_arm" # mac arm binary="httpspec_mac_x86" # mac x86binary="httpspec_windows_x86" # windows# curl, follow redirects, output to "httpspec", download target latest releasecurl -L -o httpspec https://github.com/bradcypert/httpspec/releases/latest/download/$binary# You _may_ need to update permissions for httpspecchmod 744 httpspec# You probably also want to move this to a place that exists in your pathmv httpspec /usr/local/bin