docs: add NPX installation instructions to README

This commit is contained in:
John Doe 2025-04-08 23:58:41 +03:00
parent 178969b8d8
commit 778315fdaf

View file

@ -16,6 +16,7 @@ The server is a bridge between the Telegram API and the AI assistants and is bas
- [What does this server do?](#what-does-this-server-do) - [What does this server do?](#what-does-this-server-do)
- [Installation](#installation) - [Installation](#installation)
- [Homebrew](#homebrew) - [Homebrew](#homebrew)
- [NPX](#npx)
- [From Releases](#from-releases) - [From Releases](#from-releases)
- [macOS](#macos) - [macOS](#macos)
- [Linux](#linux) - [Linux](#linux)
@ -54,7 +55,16 @@ brew install chaindead/tap/telegram-mcp
brew upgrade chaindead/tap/telegram-mcp brew upgrade chaindead/tap/telegram-mcp
``` ```
### NPX
You can run the latest version directly using npx (supports macOS, Linux, and Windows):
```bash
npx -y @chaindead/telegram-mcp
```
### From Releases ### From Releases
<details>
#### macOS #### macOS
@ -117,6 +127,8 @@ rm telegram-mcp.tar.gz
2. Extract the `.zip` file 2. Extract the `.zip` file
3. Add the extracted directory to your PATH or move `telegram-mcp.exe` to a directory in your PATH 3. Add the extracted directory to your PATH or move `telegram-mcp.exe` to a directory in your PATH
</details>
### From Source ### From Source
Requirements: Requirements: