Install Homebrew
First, visit Homebrew homepage and follow the installation instructions to install Homebrew.
Shortcut: install the latest XCode and then run the following command to install:
ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"
Then add the following line to your .bashrc or .zshrc:
export PATH="$(brew --prefix coreutils)/libexec/gnubin:/usr/local/bin:$PATH"
Install the GNU Command Line Tools
First comes the most important one – GNU Coreutils:
brew install coreutils
GNU Coreutils contains the most essential UNIX commands, such as ls, cat.
No comments:
Post a Comment