Homebrew shows me all packages that I have installed with brew leaves
. However, it doesn't show me when was a package been installed.
Is it possible to make Homebrew show the installation date of packages?
homebrew
Homebrew shows me all packages that I have installed with brew leaves
. However, it doesn't show me when was a package been installed.
Is it possible to make Homebrew show the installation date of packages?
Best Answer
brew ls -lt
lists installed packages, sorted by last modified date of the package installation directory, newest to oldest.Equivalent results can be obtained with:
With this incantation, sort order can be changed by adding
-U
(creation date) or-u
(last access date) to thels -lt
Add
-r
tols -lt
to reverse order, oldest to newest.brew ls -l
lists installed packages in alphabetical order.It's unknown to me whether Homebrew affects a package folder's creation date during
brew upgrade
, so be aware that learning the first installation date of a package may be elusive.The
-a
option forbrew ls -l
appears to be no longer available.