macOS
brew install htpdatelocal Homebrew formula metadata
sudo port install htpdateMacPorts ports tree · net/htpdate/Portfile · source: api.github.com
brew / rank 6500
Synchronize time with remote web servers. Version 2.0.2 via Homebrew; verified 2026-05-06. Also installable with debian: sudo apt install htpdate.
install
brew install htpdatelocal Homebrew formula metadata
sudo port install htpdateMacPorts ports tree · net/htpdate/Portfile · source: api.github.com
sudo apk add htpdateAlpine Linux edge package indexes · htpdate · source: dl-cdn.alpinelinux.org
sudo apt install htpdateDebian stable package indexes · htpdate · source: deb.debian.org
nix profile install nixpkgs#htpdatenixpkgs package indexes · pkgs/by-name/ht/htpdate/package.nix · source: api.github.com
overview
Synchronize time with remote web servers
history
htpdate is a small HTTP Time Protocol utility that synchronizes a computer's clock from timestamps in web-server HTTP headers. It is a niche networking package for environments where NTP is blocked, unavailable, or inconvenient but outbound HTTP works.
The upstream site and repository describe HTP as synchronizing time with web servers as reference sources. htpdate retrieves date and time through HTTP requests, can behave similarly to a browser, works through proxy servers, and can run as a daemon for ongoing synchronization.
The project preserves a pragmatic limitation in its own documentation: usual accuracy is within about 0.5 seconds and can improve with multiple servers, but users needing better time discipline should use an NTP-family package. That framing explains htpdate's evolution as a fallback or constrained-network utility rather than a replacement for NTP, OpenNTPD, or chrony.
The input package facts record htpdate in Homebrew, Debian, Ubuntu, MacPorts, Nix, and Alpine. That packaging spread is notable for a small tool because its value is situational: it becomes useful exactly on machines and networks where the usual UDP-based time-sync path is not available.
htpdate is used to query one or more web servers, estimate clock offset from HTTP date headers, and either report or set/adjust local time. The man page and README emphasize proxy support, daemon use, IPv4/IPv6 options, HTTP/1.0 versus HTTP/1.1 behavior, and the tradeoff between convenience and precision.
For package nerds, htpdate is interesting because it is the kind of tiny utility that justifies a package slot through an edge case. It exists for restricted networks, proxy-only hosts, rescue scenarios, and systems where installing a full time-sync stack is more machinery than the job requires.
security posture
broad file, network, media, or database tool signal.
blue risk · medium confidence · tool
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
htpdate | executable | indexed executable | Discovered from the local executable index. |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
install metadata
| Package key | brew:htpdate |
|---|---|
| Version | 2.0.2 |
| Package manager | Homebrew |
| Homepage | https://www.vervest.org/htp/ |
| Repository | https://github.com/twekkel/htpdate |
| Last updated | 2026-05-06T23:49:07Z |
| Pulse | updated |
| Bottle | not recorded |
| Service | none declared |
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
htpdate 1.3.7-2+b2
HTTP based time synchronization tool
https://github.com/twekkel/htpdate
sudo apt install htpdatehtpdate
nix profile install nixpkgs#htpdatehtpdate 1.3.7-2build2
HTTP based time synchronization tool
https://github.com/twekkel/htpdate
sudo apt install htpdatehtpdate 2.0.0-r0
HTTP Time protocol
https://github.com/twekkel/htpdate
sudo apk add htpdatehtpdate-doc 2.0.0-r0
HTTP Time protocol (documentation)
https://github.com/twekkel/htpdate
sudo apk add htpdate-dochtpdate-openrc 2.0.0-r0
HTTP Time protocol (OpenRC init scripts)
https://github.com/twekkel/htpdate
sudo apk add htpdate-openrchtpdate
sudo port install htpdatesource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.