Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
T

timer

> 编程语言
Open source

A `sleep` with progress

642 stars0 likes1 views
WebsiteGitHub

About

A `sleep` with progress

timer

A sleep with progress.


Timer is a small CLI, similar to the sleep everyone already knows and love, with a couple of extra features:

  • a progress bar indicating the progression of said timer
  • a timer showing how much time is left
  • named timers

Usage

bash
timer 
timer -n  
man timer
timer --help

It is possible to pass a time unit for ``.

Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h". If no unit is passed, it defaults to seconds ("s").

If you want to show the start time in 24-hour format, use --format 24h. For example:

bash
timer 5s --format 24h -n Demo

Currently, the two formats supported by the --format option are:

  • kitchen: the default, example: 9:16PM.
  • 24h: 24-hour time format, example: 21:16.

Install

homebrew:

bash
brew install caarlos0/tap/timer

macports:

bash
sudo port install timer

snap:

bash
snap install timer

apt:

bash
echo 'deb [trusted=yes] https://repo.caarlos0.dev/apt/ /' | sudo tee /etc/apt/sources.list.d/caarlos0.list
sudo apt update
sudo apt install timer

yum:

bash
echo '[caarlos0]
name=caarlos0
baseurl=https://repo.caarlos0.dev/yum/
enabled=1
gpgcheck=0' | sudo tee /etc/yum.repos.d/caarlos0.repo
sudo yum install timer

arch linux:

bash
yay -S timer-bin

deb/rpm/apk:

Download the .apk, .deb or .rpm from the releases page and install with the appropriate commands.

manually:

Download the pre-compiled binaries from the releases page or clone the repo build from source.

Badges

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Go

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言