Prerequisites
- Node.js: Version 18.0.0 or higher
- npm: Version 8.0.0 or higher (comes with Node.js)
- Operating System: macOS, Linux, or Windows
Installation Methods
NPM (Recommended)
Install globally using npm:From Source
Clone and build from source:Initial Configuration
Configure LLM Provider
After installation, configure your LLM provider:Enter provider details
Provide configuration based on the selected provider:
Alias for this provider configuration (e.g., “my-openai”)
API endpoint URL. Defaults to provider’s standard endpoint.Examples:
- OpenAI:
https://api.openai.com/v1 - Ollama:
http://localhost:11434 - Custom:
http://localhost:8080/v1
Authentication key for the provider. Leave blank to use environment variable.Environment variables:
- OpenAI:
OPENAI_API_KEY - Anthropic:
ANTHROPIC_API_KEY - Google:
GOOGLE_GENERATIVE_AI_API_KEY
Model identifier to use with this provider.Examples:
- OpenAI:
gpt-5.1,gpt-4o - Anthropic:
claude-sonnet-4-5,claude-opus-4 - Google:
gemini-2.5-pro - Ollama:
llama3.1,mistral
Configure MCP Servers (Optional)
To use MCP (Model Context Protocol) servers, create~/.rowboat/config/mcp.json:
Provider-Specific Setup
OpenAI
Anthropic
Ollama (Local)
Install Ollama
Download from ollama.ai or install via package manager:
Google AI
Verification
Test your installation:Troubleshooting
Command not found: rowboatx
Command not found: rowboatx
Ensure the global npm bin directory is in your PATH:
Permission denied errors
Permission denied errors
Fix npm permissions or use a Node version manager:
API key not being recognized
API key not being recognized
Verify environment variables are set:
MCP servers not connecting
MCP servers not connecting
Check MCP server configuration:
Updating
Update to the latest version:Uninstallation
Remove the CLI:Next Steps
Command Reference
Explore all available commands and options