awesome-osx-command-line/brew.sh
2015-10-24 20:12:16 +02:00

51 lines
1.4 KiB
Bash
Executable File
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#!/usr/bin/env bash
###############################################################################
# Install command-line tools using Homebrew #
###############################################################################
# Make sure were using the latest Homebrew
brew update
# Upgrade any already-installed formulae
brew upgrade
# Install GNU core utilities (those that come with OS X are outdated)
# Dont forget to add `$(brew --prefix coreutils)/libexec/gnubin` to `$PATH`.
brew install coreutils
sudo ln -s $(brew --prefix)/bin/gsha256sum $(brew --prefix)/bin/sha256sum
# Install GNU `sed`, overwriting the built-in `sed`
brew install gnu-sed --with-default-names
# Install `wget` with IRI support
brew install wget --with-iri
# Install more recent versions of some OS X tools
brew install vim --override-system-vi
brew install homebrew/dupes/grep
brew install homebrew/dupes/openssh
brew install homebrew/dupes/screen
brew install homebrew/php/php56 --with-gmp
# Install archivers
brew install p7zip
brew install pigz
brew install pixz
brew install unrar
brew install xz
# Install other useful binaries
brew install aria2
brew install dark-mode
brew install git
brew install git-lfs
brew install htop
brew install pv
brew install speedtest_cli
brew install tmux
brew install tree
# Remove outdated versions from the cellar
brew cleanup