网上的方法比较陈旧,安装不成功 苹果官网有完整的方法 http://macappstore.org/coreutils/
搬运工:
About the App
- App name: coreutils
- App description: GNU File Shell and Text utilities
- App website: https://www.gnu.org/software/coreutils
Install the App
- Press
Command+Space
and type Terminal and press enter/return key. - Run in Terminal app:
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" < /dev/null 2> /dev/null
and press enter/return key.
If the screen prompts you to enter a password, please enter your Mac's user password to continue. When you type the pa