soyuz-cli/install.sh
Hugh Rundle cb932edacf fix installation
- simplify script
- add -L flag to install instructions so they ...actually work.
2023-04-02 11:29:36 +10:00

19 lines
412 B
Bash
Executable file
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#!/bin/sh
# This script installs soyuz-cli
# Download latest binary
wget -q --show-progress https://github.com/hughrun/soyuz-cli/releases/latest/download/MacOS
# mv to /usr/local/bin and rename
mv MacOS /usr/local/bin/soyuz
# make it executable
chmod +x /usr/local/bin/soyuz
cat 1>&2 << 'EOM'
🚀 soyuz-cli is now installed!
🔧 Get set up with 'soyuz settings'
For help try 'soyuz help'
EOM