### Install EdgeCrab CLI via npm Source: https://edgecrab.com Install the EdgeCrab command-line interface globally using npm. This method does not require Rust to be installed. ```bash # Install globally via npm — no Rust required npm install -g edgecrab-cli # Run setup wizard (detects API keys, writes config) edgecrab setup # Verify health (checks keys, provider ping, binary size) edgecrab doctor # Start chatting edgecrab edgecrab "summarise the git log for today" edgecrab --model openai/gpt-5 "review this codebase" ``` -------------------------------- ### EdgeCrab Node.js SDK - Simple Chat and Streaming Source: https://edgecrab.com Utilize the EdgeCrab Node.js SDK for chat and streaming functionalities. Install via npm. Includes examples for simple chat, streaming, and CLI usage with npx. ```javascript npm install edgecrab import { Agent } from "edgecrab"; // Simple chat const agent = new Agent({ model: "openai/gpt-4o" }); const reply = await agent.chat("Review this TypeScript code"); console.log(reply); // Streaming for await (const token of agent.stream("Write a README")) { process.stdout.write(token); } // npx CLI // npx edgecrab-sdk chat "Hello!" // npx edgecrab-sdk models ``` -------------------------------- ### Install EdgeCrab CLI Source: https://edgecrab.com Use this command to install the EdgeCrab command-line interface globally. A Node.js runtime is required. ```bash npm install -g edgecrab-cli ``` -------------------------------- ### Install EdgeCrab via Homebrew Source: https://edgecrab.com Install EdgeCrab using Homebrew on macOS. Note that the external tap can sometimes lag behind the latest release. Verify the tap is current before installation. ```bash # Homebrew support exists, but verify the tap is current brew tap raphaelmansuy/tap brew install edgecrab edgecrab --version # Run setup wizard edgecrab setup # Verify health edgecrab doctor # If brew still serves an older release, use npm, pip, cargo, # Docker, or the native GitHub Release binaries until the tap sync completes. # Start chatting edgecrab edgecrab "explain this codebase" --model openai/gpt-4o edgecrab -w "explore that risky refactor" # isolated git worktree edgecrab -S git-workflow "review this PR" # preload a skill ``` -------------------------------- ### Install EdgeCrab CLI via pip Source: https://edgecrab.com Install the EdgeCrab command-line interface using pip. It is recommended to use pipx for an isolated installation. This method does not require Rust. ```bash # Install via pip — no Rust required # Use pipx for an isolated install (recommended) pipx install edgecrab-cli # or: python -m pip install --upgrade edgecrab-cli # Run setup wizard edgecrab setup # Verify health edgecrab doctor # Start chatting edgecrab edgecrab "count lines in src/**/*.rs" edgecrab --model ollama/llama3.3 "work completely offline" ``` -------------------------------- ### Install EdgeCrab CLI via Cargo Source: https://edgecrab.com Compile and install the EdgeCrab command-line interface from crates.io. Requires Rust version 1.86 or newer. ```bash # Compile and install from crates.io (requires Rust 1.86+) cargo install edgecrab-cli # Run setup wizard edgecrab setup # Verify health edgecrab doctor # Start chatting edgecrab edgecrab "review the architecture docs" edgecrab --model openai/gpt-5 "design a release checklist" ``` -------------------------------- ### EdgeCrab Python SDK - Simple Chat and Async Streaming Source: https://edgecrab.com Use the EdgeCrab Python SDK for simple chat interactions and asynchronous streaming of responses. Requires installation via pip. ```python pip install edgecrab from edgecrab import Agent # Simple chat agent = Agent(model="openai/gpt-4o") reply = agent.chat("Explain Rust ownership in 3 sentences") print(reply) # Async + streaming import asyncio from edgecrab import AsyncAgent async def main(): agent = AsyncAgent(model="copilot/gpt-5-mini") async for token in agent.stream("Write a Rust hello-world"): print(token, end="", flush=True) asyncio.run(main()) ``` -------------------------------- ### Run EdgeCrab via Docker Source: https://edgecrab.com Deploy EdgeCrab using Docker. Pull the pre-built multi-arch image and run the gateway server with necessary environment variables and volume mounts. Docker Compose is also supported for a full gateway stack. ```bash # Pull pre-built multi-arch image (linux/amd64 + linux/arm64) docker pull ghcr.io/raphaelmansuy/edgecrab:latest # Run gateway server (15 messaging gateways) docker run -p 8642:8642 \ -e ANTHROPIC_API_KEY=sk-ant-... -e TELEGRAM_BOT_TOKEN=123456:... -v "$HOME/.edgecrab:/root/.edgecrab" ghcr.io/raphaelmansuy/edgecrab:latest # Or with docker-compose (full gateway stack) docker compose up -d docker compose logs -f ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.