-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmacos-bootstrap.sh
121 lines (105 loc) · 2.69 KB
/
macos-bootstrap.sh
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
#!/bin/bash
set -e
# Download: curl -LO https://bit.ly/bootstrap-macos
# Install Xcode Command Line Tools
xcode-select --install
# Install Homebrew
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
# Install Mac apps
brew install --cask \
alfred \
arq \
caffeine \
dash \
firefox \
google-chrome \
iterm2 \
keybase \
menumeters \
omnidisksweeper \
plexamp \
resilio-sync \
sizeup \
slack \
sublime-text \
virtualbox \
vlc \
zerotier-one \
# Optional: install old/unused/broken apps
# brew install --cask \
# 1password \
# hyperswitch \
# sketch \
# sketch-toolbox \
# rowanj-gitx \
# vagrant \
# vienna \
# Install command line apps
brew install \
ack \
direnv \
fish \
gnupg \
go \
git \
htop \
imagemagick \
node \
nvim \
pass \
pass-otp \
pinentry-mac \
proctools \
rbenv \
ruby-build \
tig \
tmux \
wget \
yarn \
# NOTE: imagemagick may need flags: --disable-openmp --build-from-source
# Install Heroku CLI
brew tap heroku/brew
brew install heroku
# Install browserpass native client
brew tap amar1729/formulae
brew install browserpass
PREFIX='/usr/local/opt/browserpass' make hosts-chrome-user -f '/usr/local/opt/browserpass/lib/browserpass/Makefile'
PREFIX='/usr/local/opt/browserpass' make hosts-firefox-user -f '/usr/local/opt/browserpass/lib/browserpass/Makefile'
# Optional: install old/unused command line apps
# brew install \
# docker \
# docker-machine \
# docker-compose \
echo "========================================"
echo " setup required! "
echo "========================================"
brew install \
elasticsearch \
dnsmasq \
memcached \
nginx \
postgres \
redis \
# Setup dnsmasq for .localhost domains
printf "\naddress=/.localhost/127.0.0.1" >> /usr/local/etc/dnsmasq.conf
sudo mkdir -p /etc/resolver
sudo printf "nameserver 127.0.0.1" > /etc/resolver/localhost
# Fixes issue with nginx not working properly under root
chmod o+x /usr/local/var
# Link Sublime command line
ln -s "/Applications/Sublime Text.app/Contents/SharedSupport/bin/subl" /usr/local/bin/subl
echo "========================================"
echo " Install via App Store "
echo "========================================"
echo "1Password"
echo "Airmail"
echo "Numbers, Pages, Keynote"
echo "Wifi Explorer"
echo "Wifi Signal"
echo "The Unarchiver"
echo "Pixelmator"
echo "ForkLift"
echo "Download 1password 7 from https://app-updates.agilebits.com/download/OPM7"
echo "Restore from Arq backup before launching apps"
echo "Check placeholders exist in selective sync folders before launching Resilio Sync, otherwise files will be deleted"