-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinstall.sh
247 lines (178 loc) · 5.21 KB
/
install.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
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
#!/bin/bash
printf "Installing your Mac please wait\n\n"
# update the system
sudo softwareupdate -ia --verbose
# Check that Homebrew is installed and install if not
if test ! $(which brew)
then
echo " Installing Homebrew for you."
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
fi
# SYSTEM ----------------------------------------------------------------------
# Update any existing homebrew recipes
brew update
# Upgrade any already installed formulae
brew upgrade
# install the versions tap (beta/snapshot channel)
brew tap homebrew/cask-versions
# fonts
brew tap homebrew/cask-fonts
# realpath needed for the dotfiles install
brew install coreutils
# java cause it's always used
brew install java
# cause it's always used
brew install python3
read -p "Do you want to install system tools? " -n 1 -r
echo # (optional) move to a new line
if [[ $REPLY =~ ^[Yy]$ ]]
then
# alfred, replace search
brew install alfred
# android file transfer
brew install android-file-transfer
# properly remove all files of unsinstalled application
brew install appcleaner
# etcher - image burner
brew install balenaetcher
# install cake brew for the one fearing the terminal
brew install cakebrew
# disk space check
brew install disk-inventory-x
# flux - cooler warms as dark comes
brew install flux
# iterm2 terminal
brew install iterm2
# screen recording
brew install kap
# path finder explorer (replace finder)
brew install path-finder
# pdf read/write
brew install pdf-expert
# vpn
brew install protonvpn
# install spectacle window manager
brew install rectangle
# audio controller
brew install soundsource
# termhere in path finder or finder
brew install termhere
# ssh platfrom
brew install termius
# remove notification when screensharing
brew install muzzle
# archives
brew install the-unarchiver
# vim editor
brew install vim
# office
brew install wpsoffice
# display management
brew tap jakehilborn/jakehilborn && brew install displayplacer
fi
# DEVELOPMENT -----------------------------------------------------------------
read -p "Do you want to install development tools? " -n 1 -r
echo # (optional) move to a new line
if [[ $REPLY =~ ^[Yy]$ ]]
then
# clean git repo - https://rtyley.github.io/bfg-repo-cleaner/
brew install bfg
# charles web proxy
brew install charles
# docker
brew install docker-edge
# insomnia rest client
brew install insomnia
# intelliJ IDE
brew install intellij-idea
# code merge
brew install meld
# vs code
brew install visual-studio-code
fi
# NETWORKING -----------------------------------------------------------------
read -p "Do you want to install networking tools? " -n 1 -r
echo # (optional) move to a new line
if [[ $REPLY =~ ^[Yy]$ ]]
then
# snif ip on network
brew install angry-ip-scanner
# install little-snitch, check connection out are authorised
brew install little-snitch
brew install zenmap
fi
# MEDIA -----------------------------------------------------------------
read -p "Do you want to install all misc tools? " -n 1 -r
echo # (optional) move to a new line
if [[ $REPLY =~ ^[Yy]$ ]]
then
# gif maker
brew install gifox
# ftp client
brew install cyberduck
# dropbox
brew install dropbox
# firefox
brew install firefox
# google chrome browser
brew install google-chrome
# keeweb password manager
brew install keeweb
# Vector and image tools
brew install affinity-designer affinity-photo
# nicer image viewer
brew install lightgallery
# media player
brew install mpv
# plex client
brew install plex-media-player
# spotify
brew install spotify
# vlc media player, just in case mpv doesn't read the video
brew install vlc
# wavebox messaging app aggregator
brew install wavebox
fi
# zsh
brew install zsh zsh-completions
# Remove brew cruft
brew cleanup
# NOT INSTALLED AUTOMATICALLY BUT LISTED
# send videos to Apple TV or chrome cast
# brew install beamer
# canary email client
# brew install canary
# flaoting window
# brew install pennywise
# brew install grammarly
# brew install gyazo
# video editing
# brew install lightworks
# brew install obs
# brew install openshot-video-editor
# brew install obs
# MAS
printf "Installing apple store application, you will need to be logged in already\n\n"
# install mas - install App Store app from command line
if test ! $(which mas)
then
echo " Installing MAS for you, tool to install "
brew install mas
fi
# bear notes - id comes from mas search bear
mas install 1091189122
# gravit designer
mas install 1207744923
# John background switcher
mas install 907640277
# Hour - World Clock
mas install 569089415
# Installing dofiles
printf "Installing dotfiles\n\n"
cd ~ && git clone https://[email protected]/nolazybits/dotfiles.git ./.dotfiles
cd ./.dotfiles/ && git submodule init && git submodule update
sudo pip3 install -r dotdrop/requirements.txt
./dotdrop.sh install --profile osx
# run zsh for the first time to initiate it
zsh
chsh -s /bin/zsh