duck) is a voice-first coding companion that runs as a local daemon. It manages Pi RPC sessions per workspace and streams events over a Unix domain socket.
Installation
Install globally via npm:macOS App Integration
If you’re using the Rubber Duck menu bar app on macOS, the CLI binary is automatically installed on first launch:- Downloaded from GitHub Releases to
~/Library/Application Support/RubberDuck/duck - Symlinked to
/usr/local/bin/duck - Auto-updated when the app version changes
Basic Usage
The CLI provides four core commands:Quick Start
Attach to your current workspace:Requirements
- Node.js: Version 22 or higher
- Pi binary: Resolved in this order:
RUBBER_DUCK_PI_BINARYenvironment variable- Local
cli/node_modules/.bin/pi pifrom systemPATH
Environment Variables
Override the default AI model for Pi sessions. Examples:
gpt-4o, claude-3-5-sonnet-20241022Control thinking verbosity level. Options:
off, minimal, low, medium, high, xhighExplicit path to the Pi binary executable
Disable colored terminal output when set to any value
Next Steps
Command Reference
Complete reference for all CLI commands and options
Output Format
Learn about event streaming and JSON mode
Daemon Architecture
Understand the daemon process and runtime files