PATH='/usr/local/opt/coreutils/libexec/gnubin:$PATH'Īdditionally, you can access their man pages with normal names if you add If you really need to use these commands with their normal names, youĬan add a 'gnubin' directory to your PATH from your bashrc like: usr/local/Cellar/coreutils/8.21 (210 files, 9.6M) *Īll commands have been installed with the prefix 'g'.
If you want to use the commands without a g prefix add for example /usr/local/opt/coreutils/libexec/gnubin before other directories on your PATH. This adds symlinks for GNU utilities with g prefix to /usr/local/bin/: brew install coreutils findutils gnu-tar gnu-sed gawk gnutls gnu-indent gnu-getopt grep