Usage Guide
Learn how to use go-pomodoro to run focus sessions, monitor long sitting, and get AI-powered insights.
CLI usage
pomodoro [flags]
pomodoro [command]Use the commands below to control your focus workflow directly from the terminal.
Start a focus session
pomodoro startStarts a standard focus timer using built-in break and cycle rules.
pomodoro start -m 25Runs a session with a custom focus duration in minutes.
Deep work mode
pomodoro deepStarts a distraction-minimized deep work session for longer, uninterrupted focus.
Monitor long sitting
pomodoro monitorContinuously tracks activity and alerts you when prolonged sitting is detected.
View session history
pomodoro sessionsDisplays recent focus sessions and basic productivity insights.
AI productivity coach
pomodoro coachGenerates personalized focus recommendations based on your recent sessions.
Update the CLI
pomodoro updateUpdates go-pomodoro to the latest available version.
Check version
pomodoro versionPrints the currently installed version.
Enable AI features (Groq)
To enable AI coaching and smart break suggestions, set your GROQ API key as an environment variable.
macOS / Linux
export GROQ_API_KEY="your_api_key_here"Windows (PowerShell)
$env:GROQ_API_KEY="your_api_key_here"Restart your terminal after setting the key.
How breaks are calculated
Break duration and focus cycles automatically adjust based on your session length. Short sessions keep breaks minimal, while longer deep work sessions receive longer recovery periods to reduce fatigue.