Last active
October 15, 2016 16:40
-
-
Save pstaender/3b790f84c5d0ed9a49b6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Source: https://www.topbug.net/blog/2013/04/14/install-and-use-gnu-command-line-tools-in-mac-os-x/ | |
# First comes the most important one -- GNU Coreutils: | |
brew install coreutils | |
# Then you may probably want to install the following ones (For some of the packages, you need to run brew tap homebrew/dupes first, but only once for your system): | |
brew install binutils | |
brew install homebrew/dupes/diffutils | |
brew install ed --default-names | |
brew install findutils --with-default-names | |
brew install gawk | |
brew install gnu-indent --with-default-names | |
brew install gnu-sed --with-default-names | |
brew install gnu-tar --with-default-names | |
brew install gnu-which --with-default-names | |
brew install gnutls | |
brew install grep --with-default-names | |
brew install gzip | |
brew install screen | |
brew install watch | |
brew install wdiff --with-gettext | |
brew install wget | |
# The --default-names option will prevent Homebrew from prepending gs to the newly installed commands, thus we could use these commands as default ones over the ones shipped by OS X. | |
# | |
# Some command line tools already exist on OS X, but you may wanna a newer version: | |
brew install bash | |
brew install emacs | |
brew install gdb # gdb requires further actions to make it work. See `brew info gdb`. | |
brew install gpatch | |
brew install m4 | |
brew install make | |
brew install nano | |
# As a complementary set of packages, the following ones are not from GNU, but you can install and use a newer version instead of the version shipped by OS X: | |
brew install file-formula | |
brew install git | |
brew install less | |
brew install openssh | |
brew install perl518 # must run "brew tap homebrew/versions" first! | |
brew install python | |
brew install rsync | |
brew install svn | |
brew install unzip | |
brew install vim --override-system-vi | |
brew install macvim --override-system-vim --custom-system-icons | |
brew install zsh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment