-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.bash_brew
125 lines (106 loc) · 4.38 KB
/
.bash_brew
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
#!/bin/bash
# some references:
# - https://www.topbug.net/blog/2013/04/14/install-and-use-gnu-command-line-tools-in-mac-os-x/
# - http://sourabhbajaj.com/mac-setup/Homebrew/README.html
# - http://pedrorijo.com/blog/mac-and-brew/
# a script to list brew dependencies:
#brew list | while read cask; do echo -n "$(tput setaf 4) $cask -> $(tput sgr0)"; brew deps $cask | awk '{printf(" %s ", $0)}'; echo ""; done
# Ask for the administrator password upfront
sudo -v
# Keep-alive: update existing `sudo` time stamp until the script has finished
while true; do sudo -n true; sleep 60; kill -0 "$$" || exit; done 2>/dev/null &
# Xcode command line tools
xcode-select --install;
# install brew
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)";
brew tap caskroom/cask
brew tap caskroom/versions
# Brew environment (since .bash_brew is not called by .bash_profile I had to duplicate this setting there)
export HOMEBREW_CASK_OPTS="--caskroom=/opt/homebrew-cask/Caskroom"
brew update # Make sure we’re using the latest Homebrew
brew upgrade --all # Upgrade any already-installed formulae
# Docker
brew install boot2docker
brew install docker
brew install docker-machine
brew install docker-compose
brew install docker-swarm
# Databases
brew install mysql # relational
brew install sqllite # relational
brew install mongodb # document-oriented
brew install Caskroom/cask/robomongo # https://robomongo.org/
brew install redis # in-memory key-value
brew install neo4j # graph
brew install cassandra # noSQL
# Development
brew install git
brew tap homebrew/dupes # duplicates software provided by OS X, required for python, python3...
brew install pyenv # see http://www.techsfo.com/blog/2016/06/setup-python-mac-os-x/
brew install pyenv-virtualenv
brew install pyenv-virtualenvwrapper
brew install maven
brew install gradle
brew install node # Node JS
brew cask install java # Java
brew install jenv # Java Environment (same as Ruby environment)
brew install scala # Scala
brew install sbt # Scala Build Tool
brew install typesafe-activator # Scala Activator
brew install jq # command-line JSON processor
brew install rbenv # Ruby environment (after this install Ruby 2.2.1 and make it global)
# IDEs
brew cask install intellij-idea-ce # community edition
brew cask install sublime-text3
#brew cask install eclipse-ide
#brew cask install atom
# Virtualization and Cloud
brew cask install virtualbox
brew cask install vagrant
brew cask install vagrant-manager
brew tap pivotal/tap # required for cloudfoundry-cli
brew install cloudfoundry-cli # Cloud Foundry
brew install heroku-toolbelt # Heroku
brew install awscli # Amazon AWS
brew install doctl # Digital Ocean
# Big Data
brew install apache-spark
brew install storm
# Science
brew tap homebrew/science
brew install r
brew install octave
# ...
# System and Network
brew install archey # display Mac specs
brew install tree # display current folder tree structure
brew install findutils # find, locate, xargs...
brew install dark-mode # toggle OS X dark-mode
brew install brigthness # change display brightness
brew install figlet # text to ASCII art converter
brew install socat # netcat on steroids
brew install openssl
brew install openvpn
brew install nmap # port scanning utility
brew install ngrep # network grep
brew install htop # interactive process viewer
brew cask install caffeine
brew cask install xquartz # x11
brew cask install keybase # public key crypto
#brew install homebrew/gui/terminator # not working fine with OS X
brew install httpie # standalone HTTP client e.g. http www.google.com
#brew install coreutils # GNU coreutils contains the most essential UNIX commands, such as ls, cat...
brew install moreutils # see https://joeyh.name/code/moreutils/
brew install fortune cowsay # just for fun
#brew install fish # see https://hackercodex.com/guide/install-fish-shell-mac-ubuntu/
brew cask install iterm2 # an alternative to the default terminal, see https://www.iterm2.com/index.html
brew install asciinema # utility for terminal session recording, see https://asciinema.org/
brew tap homebrew/services # to integrate Homebrew with launchctl manager (i.e. to start redis or mysql at login)
# Completion
brew tap homebrew/completions
brew install bash-completion
brew install docker-completion
brew install maven-completion
brew install vagrant-completion
# is there any completion for docker-machine???
brew cleanup # Remove outdated versions from the cellar