Command-line tool
libfaketime
brew/libfaketime
Checked 25 Oct 2026, 21:09 UTC · Listing refreshed from Homebrew, winget, npm, Scoop and cargo; npm packages checked against OSV.dev
Report faked system time to programs
At a glance
- Type
- Command-line tool
- Install on
- macOS, Linux
- Last checked
- 25 Oct 2026, 21:09 UTC
Install it
macOS
brew install libfaketime
Linux
brew install libfaketime
Fake the time to this evening, before printing the result of `date`
faketime 'today 23:30' date
Open a new Bash shell, which uses yesterday as the current date
faketime 'yesterday' bash
Simulate how a program would act next Friday night
faketime 'next Friday 1 am' path/to/program
Related command-line tools
- strace
Diagnostic, instructional, and debugging tool for the Linux kernel - ninja
Small build system for use with gyp or CMake - punfetch
A blazingly fast system fetch program to pair with onefetch - clingo
ASP system to ground and solve logic programs - mprober
This program aims to collect Linux system information including hostname, kernel version, uptime, RTC time, load… - kcov
Code coverage tester for compiled programs, Python, and shell scripts - tuckr
Super powered replacement for GNU Stow dotfiles stow dotfile-manager dotfile-management tuckr - neofetch-win
Display information about the operating system, software, and hardware. Note: `neofetch` is no longer maintained.…
Listing text is written by the maker; AptLynx lists tools and does not vouch for them. Find another tool · Browse by topic · For agents