% brew install coreutils []
==> Downloading https://homebrew.bintray.com/bottles/coreutils-8.24.el_capitan.bottle.tar.gz
######################################################################## 100.0%
==> Pouring coreutils-8.24.el_capitan.bottle.tar.gz
==> Caveats
All commands have been installed with the prefix 'g'.
If you really need to use these commands with their normal names, you
can add a "gnubin" directory to your PATH from your bashrc like:
PATH="/usr/local/opt/coreutils/libexec/gnubin:$PATH"
Additionally, you can access their man pages with normal names if you add
the "gnuman" directory to your MANPATH from your bashrc as well:
MANPATH="/usr/local/opt/coreutils/libexec/gnuman:$MANPATH"
==> Summary
🍺 /usr/local/Cellar/coreutils/8.24: 214 files, 9.4M