The time
you use in your question is not a command, but rather a reserved word in zsh. It can be used in two different ways and its output can be customized through the $TIMEFMT
parameter. ThereAdditionally, there is also an external command time
on macOS (and most other Unix-like OSes), which produces slightly different output.