#!/usr/bin/env bash # RabbitBot CLI installer (served at https://rabbitbot.ir/v2/install). # The desktop app updates itself; this script covers the terminal CLI on Linux and macOS. set -euo pipefail echo "RabbitBot CLI installer" echo "-----------------------" echo echo "RabbitBot for Windows ships as the desktop installer:" echo " https://rabbitbot.ir/download" echo echo "For Linux and macOS the CLI is distributed as a single binary. Download it from" echo " https://rabbitbot.ir/download" echo "then move it to /usr/local/bin/rabbitbot and run:" echo echo " chmod +x /usr/local/bin/rabbitbot" echo " rabbitbot --version" echo echo "To install a previous release, pass the version:" echo " RABBITBOT_VERSION=2.4.1 bash -c \"\$(curl -fsSL https://rabbitbot.ir/v2/install)\""