Skip to main content

Installation

You can install go-pomodoro with npm or Go.

Requirements

For the npm package:
  • Node.js 16 or newer
  • npm
For the Go install:
  • Go installed on your machine

Install with npm

Use npm if you want the easiest install:
After installation, check that the command is available:
Start your first timer:

Install with Go

Use Go if you prefer installing directly from the source module:
Make sure your Go binary directory is in your PATH. On many systems, this directory is:
Then check the command:

Run from source

Clone the repository:
Run the CLI:
Run a command through Go:

Windows PowerShell notes

If PowerShell says that a command is not recognized, close and reopen your terminal after installing. If npm scripts are blocked by PowerShell execution policy, use npm.cmd:
Then run:

Update

If you installed a released binary, you can try:
Development builds cannot update themselves. If you installed from source, pull the latest code and rebuild or rerun:

Uninstall

If you installed with npm:
If you installed with Go, remove the pomodoro binary from your Go binary directory.