Installation
Install Goose using the installation script:Initial Setup
Run the configuration command to set up your provider:- Choosing a provider (OpenRouter, Tetrate, or manual configuration)
- Setting up API credentials
- Selecting a model
- Configuring extensions
Core Commands
Starting a Session
Start an interactive session:Managing Sessions
List all sessions:Exporting Sessions
Export a session to different formats:Removing Sessions
Remove sessions by ID:Diagnostics
Generate a diagnostics bundle for debugging:- Session data
- Configuration
- System information
- Relevant logs
Recipe Commands
Recipes are reusable workflows that automate common tasks.Listing Recipes
View available recipes:Running Recipes
Run a recipe by name:Validating Recipes
Validate recipe syntax:Recipe Deeplinks
Generate a deeplink to open a recipe in Goose Desktop:Configuration Commands
Provider Configuration
Reconfigure provider settings:- Change provider (e.g., from OpenAI to Anthropic)
- Update API keys
- Select a different model
- Configure provider-specific settings
Extension Management
Add extensions:- Built-in Extension: Pre-packaged extensions (developer, memory, etc.)
- Command-line Extension: Run local scripts or commands
- Remote Extension: Connect to HTTP/MCP servers
Settings Configuration
Configure various settings:- goose mode: Auto, Approve, Smart Approve, or Chat
- Telemetry: Enable/disable anonymous usage data
- Tool Permission: Set permissions for individual tools
- Tool Output: Control verbosity (high/medium/all)
- Max Turns: Maximum autonomous turns
- Secret Storage: Keyring vs file-based storage
- Experiments: Toggle experimental features
Information Commands
System Information
View system and configuration details:Update Check
Check for updates:Environment Variables
Key environment variables that affect CLI behavior:GOOSE_PROVIDER: Override configured providerGOOSE_MODEL: Override configured modelGOOSE_MODE: Set mode (auto/approve/smart_approve/chat)GOOSE_TELEMETRY_OFF: Disable telemetry (set to 1)GOOSE_CLI_MIN_PRIORITY: Tool output verbosity (0.0-1.0)GOOSE_DISABLE_KEYRING: Use file-based secret storage
Common Workflows
Quick Code Review
Running a Recipe
Tips and Tricks
Session Management
- Use descriptive session names for easy identification
- Regularly export important sessions for documentation
- Clean up old sessions with
goose session remove
Performance
- Use
--format jsonfor scripting and automation - Limit session list results with
--limitfor faster output - Use working directory filters to narrow down sessions
Debugging
- Generate diagnostics bundles when reporting issues
- Check
goose infoto verify configuration - Use verbose mode on recipe list for detailed information
Exit Codes
The CLI uses standard exit codes:0: Success1: General error2: Configuration error3: Network/API error