Skip to main content

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

Install globally using npm:
Verify the installation:

From Source

Clone and build from source:
1

Clone the repository

2

Install dependencies

3

Build the project

4

Link globally

Initial Configuration

Configure LLM Provider

After installation, configure your LLM provider:
This launches an interactive wizard:
1

Select provider type

Choose from available providers:
2

Enter provider details

Provide configuration based on the selected provider:
string
required
Alias for this provider configuration (e.g., “my-openai”)
string
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
string
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
string
required
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
3

Verify configuration

Configuration is saved to ~/.rowboat/config/models.json:

Configure MCP Servers (Optional)

To use MCP (Model Context Protocol) servers, create ~/.rowboat/config/mcp.json:

Provider-Specific Setup

OpenAI

Anthropic

Ollama (Local)

1

Install Ollama

Download from ollama.ai or install via package manager:
2

Pull a model

3

Configure rowboatx

Google AI

Verification

Test your installation:

Troubleshooting

Ensure the global npm bin directory is in your PATH:
Fix npm permissions or use a Node version manager:
Verify environment variables are set:
Check MCP server configuration:

Updating

Update to the latest version:

Uninstallation

Remove the CLI:

Next Steps

Command Reference

Explore all available commands and options