From 7c2bfdc133ed2ffe7850a8c85bd721813fba1a19 Mon Sep 17 00:00:00 2001 From: John Doe Date: Mon, 7 Apr 2025 19:59:25 +0300 Subject: [PATCH] docs: refine installation instructions for different architectures --- README.md | 42 ++++++++++++++++-------------------------- 1 file changed, 16 insertions(+), 26 deletions(-) diff --git a/README.md b/README.md index 9d86d06..91cb323 100644 --- a/README.md +++ b/README.md @@ -46,24 +46,19 @@ The Model Context Protocol (MCP) is a system that lets AI apps, like Claude Desk > **Note:** The commands below install to `/usr/local/bin`. To install elsewhere, replace `/usr/local/bin` with your preferred directory in your PATH. +First, download the archive for your architecture: + ```bash -# Intel Mac (x86_64) -# Download the archive +# For Intel Mac (x86_64) curl -L -o telegram-mcp.tar.gz https://github.com/chaindead/telegram-mcp/releases/latest/download/telegram-mcp_Darwin_x86_64.tar.gz -# Extract the binary -sudo tar xzf telegram-mcp.tar.gz -C /usr/local/bin - -# Make it executable -sudo chmod +x /usr/local/bin/telegram-mcp - -# Clean up -rm telegram-mcp.tar.gz - -# Apple Silicon (M1/M2) -# Download the archive +# For Apple Silicon (M1/M2) curl -L -o telegram-mcp.tar.gz https://github.com/chaindead/telegram-mcp/releases/latest/download/telegram-mcp_Darwin_arm64.tar.gz +``` +Then install the binary: + +```bash # Extract the binary sudo tar xzf telegram-mcp.tar.gz -C /usr/local/bin @@ -78,24 +73,19 @@ rm telegram-mcp.tar.gz > **Note:** The commands below install to `/usr/local/bin`. To install elsewhere, replace `/usr/local/bin` with your preferred directory in your PATH. +First, download the archive for your architecture: + ```bash -# x86_64 (64-bit) -# Download the archive +# For x86_64 (64-bit) curl -L -o telegram-mcp.tar.gz https://github.com/chaindead/telegram-mcp/releases/latest/download/telegram-mcp_Linux_x86_64.tar.gz -# Extract the binary -sudo tar xzf telegram-mcp.tar.gz -C /usr/local/bin - -# Make it executable -sudo chmod +x /usr/local/bin/telegram-mcp - -# Clean up -rm telegram-mcp.tar.gz - -# ARM64 -# Download the archive +# For ARM64 curl -L -o telegram-mcp.tar.gz https://github.com/chaindead/telegram-mcp/releases/latest/download/telegram-mcp_Linux_arm64.tar.gz +``` +Then install the binary: + +```bash # Extract the binary sudo tar xzf telegram-mcp.tar.gz -C /usr/local/bin