2023-02-26 17:56:57 +11:00
|
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
|
|
# This script installs soyuz-cli
|
2023-02-26 20:49:56 +11:00
|
|
|
|
|
2023-04-02 11:29:36 +10:00
|
|
|
|
# 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
|
2023-02-26 17:56:57 +11:00
|
|
|
|
# make it executable
|
2023-02-26 20:49:56 +11:00
|
|
|
|
chmod +x /usr/local/bin/soyuz
|
2023-02-26 17:56:57 +11:00
|
|
|
|
|
|
|
|
|
cat 1>&2 << 'EOM'
|
|
|
|
|
|
|
|
|
|
🚀 soyuz-cli is now installed!
|
|
|
|
|
|
|
|
|
|
🔧 Get set up with 'soyuz settings'
|
|
|
|
|
ℹ️ For help try 'soyuz help'
|
|
|
|
|
|
|
|
|
|
EOM
|