# Install gnu-time with Homebrew, apk, apt, dnf, Nix, pacman, zypper, scoop

GNU implementation of time utility. Version 1.10 via Homebrew; verified from local package data. Also installable with debian: sudo apt install time.

## Install

```sh
sudo av install brew:gnu-time
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install gnu-time
```

  Evidence: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add time
```

  Evidence: Alpine Linux edge package indexes: time from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install time
```

  Evidence: Debian stable package indexes: time from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install time
```

  Evidence: Fedora Rawhide package metadata: time from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#time
```

  Evidence: nixpkgs package indexes: pkgs/by-name/ti/time/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S time
```

  Evidence: Arch Linux sync databases: time from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install time
```

  Evidence: openSUSE Tumbleweed package metadata: time from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

### Windows

- Scoop (92%):

```sh
scoop install main/time
```

  Evidence: Scoop official bucket manifest trees: bucket/time.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

## Package facts

- **Package key:** brew:gnu-time
- **Package manager:** Homebrew
- **Version:** 1.10
- **Source summary:** GNU implementation of time utility
- **Homepage:** <https://www.gnu.org/software/time/>
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- time (alias)

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 1.10
## Project history and usage

GNU Time is the GNU Project implementation of the Unix time utility: it runs a command and reports resource use after the command exits. Its long-lived niche is not timing clocks in the abstract, but producing repeatable command-line measurements of elapsed time, CPU time, memory, page faults, I/O, context switches, and exit status.

### Project history

The GNU manual carries copyright years beginning in 1991, and the GNU FTP archive records the 1.7 release in 1996, followed by later releases in the 1.x series. The program evolved around a compact Unix interface, adding GNU-style format strings, verbose output, output redirection, append mode, and POSIX-compatible output for scripts that need a stable three-line real/user/sys report.

GNU Time sits beside shell builtins named time, rather than replacing them everywhere. The manual explicitly notes how to run the external command when a shell reserves the word, preserving the GNU tool as a separately packaged utility for users who need its richer resource accounting.

### Adoption history

Package managers keep GNU Time available even on systems that already ship a shell or system time command, because the GNU implementation exposes a broader and more scriptable set of resource fields. In CLI culture it became the portable answer for benchmark logs that need more than wall-clock seconds.

### How it is used

Practitioners use GNU Time by prefixing a command, selecting an output format with -f or TIME, writing measurements with -o, appending with -a, or asking for verbose resource reports with -v. Common uses include timing compilers, test suites, data pipelines, and one-off shell commands while keeping the measured program unchanged.

### Why package nerds care

The package matters because it is small, predictable, and separate from shell syntax. That makes it useful in packaging recipes, benchmark harnesses, and CI scripts where the same command line should work outside a particular interactive shell.

### Timeline

- 1991: GNU Time manual copyright begins.
- 1996: GNU FTP archive lists time 1.7.
- 2017: GNU FTP archive lists time 1.8 after a long quiet interval.
- 2026: GNU FTP archive lists time 1.10.

### Related projects

- Related tools include shell time keywords and builtins, POSIX time output, BSD getrusage-based accounting, and benchmark wrappers that consume command resource statistics.

### Sources

- <https://formulae.brew.sh/formula/gnu-time>
- <https://ftp.gnu.org/gnu/time/>
- <https://www.gnu.org/software/time/manual/time.html>


## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals

## Other Package-Manager Records

- Debian apt - time - 1.9-0.2: installed executable or alias match | Debian stable package indexes: time from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | GNU time program for measuring CPU resource usage | https://www.gnu.org/software/time
- Nix - time: installed executable or alias match | nixpkgs package indexes: pkgs/by-name/ti/time/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - time - 1.9-0.2build1: installed executable or alias match | Ubuntu 24.04 LTS package indexes: time from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | GNU time program for measuring CPU resource usage | https://www.gnu.org/software/time
- apk - time - 1.10-r0: installed executable or alias match | Alpine Linux edge package indexes: time from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | utility to measure execution time | https://www.gnu.org/software/time/
- apk - time-doc - 1.10-r0: installed executable or alias match | Alpine Linux edge package indexes: time-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | utility to measure execution time (documentation) | https://www.gnu.org/software/time/
- dnf - time - 1.9-29.fc45: installed executable or alias match | Fedora Rawhide package metadata: time from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | A GNU utility for monitoring a program's use of system resources | https://www.gnu.org/software/time/
- pacman - time - 1.10-1: installed executable or alias match | Arch Linux sync databases: time from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Utility for monitoring a program's use of system resources | https://www.gnu.org/software/time/
- zypper - time - 1.10-1.4: installed executable or alias match | openSUSE Tumbleweed package metadata: time from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Run Programs And Summarize System Resource Usage | https://www.gnu.org/software/time/
- Scoop - main/time: installed executable or alias match | Scoop official bucket manifest trees: bucket/time.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/gnu-time.yml](https://github.com/mxcl/pkgdb/blob/main/combined/gnu-time.yml)


## Sources

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
