Install command:
brew install gnu-units

GNU unit conversion tool

License: GPL-3.0-or-later

/api/formula/gnu-units.json (JSON API)

/api/bottle/gnu-units.json (Bottle JSON API)

Formula code on GitHub

Bottle (binary package) installation support provided for macOS releases:

Intel big sur
64-bit linux
Apple Silicon big sur

Current versions:

stable 2.21

Depends on:

readline 8.1.1 Library for command-line editing
All commands have been installed with the prefix "g".
If you need to use these commands with their normal names, you
can add a "gnubin" directory to your PATH from your bashrc like:
    PATH="$(brew --prefix)/opt/gnu-units/libexec/gnubin:$PATH"


Installs (30 days)
gnu-units 61
Installs on Request (30 days)
gnu-units 61
Build Errors (30 days)
gnu-units 0
Installs (90 days)
gnu-units 185
Installs on Request (90 days)
gnu-units 185
Installs (365 days)
gnu-units 1,402
Installs on Request (365 days)
gnu-units 1,384
Fork me on GitHub