diff --git a/README.md b/README.md index 4d1c6a3..0161073 100644 --- a/README.md +++ b/README.md @@ -24,6 +24,9 @@ A lightweight, Bun-based CLI for interacting with [MCP (Model Context Protocol)] curl -fsSL https://raw.githubusercontent.com/philschmid/mcp-cli/main/install.sh | bash ``` +> [!NOTE] +> The release installer currently depends on published platform binaries. If you are on **Linux arm64 / aarch64** and the latest release does not include `mcp-cli-linux-arm64`, the install script will fail over to a source install recommendation instead of succeeding. + or ```bash diff --git a/install.sh b/install.sh index 69cff42..e97eaa8 100755 --- a/install.sh +++ b/install.sh @@ -85,7 +85,16 @@ CHECKSUM_URL="https://github.com/$GITHUB_REPO/releases/latest/download/checksums echo -e "${BLUE}Downloading...${NC}" TMP_FILE=$(mktemp) if ! curl -fsSL "$DOWNLOAD_URL" -o "$TMP_FILE"; then - echo -e "${RED}Failed to download binary. Check if releases exist at:${NC}" + echo -e "${RED}Failed to download binary.${NC}" + echo " URL: $DOWNLOAD_URL" + echo "" + if [ "$OS" = "linux" ] && [ "$ARCH" = "aarch64" ]; then + echo -e "${YELLOW}Linux arm64 release asset not found for the latest release.${NC}" + echo "Try installing from source instead:" + echo " bun install -g https://github.com/$GITHUB_REPO" + echo "" + fi + echo -e "${RED}Check available releases at:${NC}" echo " https://github.com/$GITHUB_REPO/releases" exit 1 fi