Skip to main content

Usage

This page shows the most common ways to use go-pomodoro.

Start a focus session

Start the default 25 minute timer:
The timer starts in the background. You can keep using the same terminal for other work.

Start a custom timer

Use --minutes or -m to choose the focus duration:
Short form:
The value must be between 1 and 100 minutes.

Start deep work mode

Use --deep or -d with start:
Short form:
You can also use the interactive deep work command:
It asks you to choose one of these focus blocks:
  • 45 minutes
  • 60 minutes
  • 120 minutes
If the choice is invalid, it defaults to 60 minutes.

Check the current timer

Show the current timer once:
Watch the timer live:
Short form:
The live view shows:
  • Current phase, such as focus or break.
  • Time remaining.
  • Current cycle.
  • Total cycles.
  • Breaks left.
  • Progress bar.
  • Progress percentage.
Press Ctrl+C to exit the live status view.

Pause and resume

Pause the current session:
Resume the paused session:
Use this when you are interrupted but want to continue the same session later.

Stop a session

Stop the running timer:
This ends the current timer and resets the runtime state. If no timer is running, the CLI prints:

View recent sessions

Show recent completed sessions:
The output includes:
  • Date and time.
  • Duration.
  • Session type.
  • Focus score.
If you have not completed any sessions yet, the CLI prints:

Get coaching

Show productivity coaching based on recent sessions:
If you have no completed sessions yet, the CLI asks you to complete some focus sessions first. If GROQ_API_KEY is set, coaching can use AI. If not, the command still handles the missing key gracefully.

Run the activity monitor

Start the activity monitor:
This starts a real-time monitor in the terminal.

See help

Show all commands:
Show help for a single command:

Break and cycle rules

go-pomodoro chooses breaks and cycles from the focus duration.