forked from mathiasbynens/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 0
/
mac-brew.sh
executable file
·233 lines (160 loc) · 6.65 KB
/
mac-brew.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
#!/usr/bin/env bash
# Install command-line tools using Homebrew.
# Make sure we’re using the latest Homebrew.
brew update
# Upgrade any already-installed formulae.
brew upgrade
# Save Homebrew’s installed location.
BREW_PREFIX=$(brew --prefix)
# Install GNU core utilities (those that come with macOS are outdated).
# Don’t forget to add `$(brew --prefix coreutils)/libexec/gnubin` to `$PATH`.
brew install coreutils
ln -s "${BREW_PREFIX}/bin/gsha256sum" "${BREW_PREFIX}/bin/sha256sum"
# Install some other useful utilities like `sponge`.
brew install moreutils
# Install GNU `find`, `locate`, `updatedb`, and `xargs`, `g`-prefixed.
brew install findutils
# Install GNU `sed`, overwriting the built-in `sed`.
brew install gnu-sed # --with-default-names
# Install a modern version of Bash.
# brew install bash
# brew install bash-completion2
# # Switch to using brew-installed bash as default shell
# if ! fgrep -q "${BREW_PREFIX}/bin/bash" /etc/shells; then
# echo "${BREW_PREFIX}/bin/bash" | sudo tee -a /etc/shells;
# chsh -s "${BREW_PREFIX}/bin/bash";
# fi;
# Install `wget` with IRI support.
# brew install wget --with-iri
brew install wget
brew install rsync
brew install --cask rsyncui
# Install GnuPG to enable PGP-signing commits.
# brew install gnupg
# Install more recent versions of some macOS tools. -----------------------------------------------
brew install vim # --with-override-system-vi
brew install grep
brew install openssh
brew install xmake
# brew install screen
# brew install php
# brew install gmp
# # some terminal tools -----------------------------------------------
# Install tmux: Terminal multiplexer that allows multiple terminal sessions within a single window.
brew install tmux
# Install thefuck: Command-line tool for correcting mistyped or incorrect commands.
brew install thefuck
# Install tldr: Simplified and community-driven man pages (manual pages) for various commands.
brew install tldr
# Font install tool
curl -fsSL https://raw.githubusercontent.com/HernandoR/getnf/master/install.sh | sh
# Install casks
# Install Visual Studio Code: A popular source code editor and IDE.
brew install --cask visual-studio-code
# Install Microsoft Edge: Web browser developed by Microsoft.
brew install --cask microsoft-edge
# Install iTerm2: Terminal emulator for macOS with advanced features.
brew install --cask iterm2
# Install Termius: SSH client and Telnet client for remote access to servers.
brew install --cask termius
# Install Miniforge: Minimal distribution of the conda package manager and Python.
brew install --cask miniforge
# Install PyCharm Community Edition with Anaconda plugin: Integrated development environment for Python.
brew install --cask pycharm-ce-with-anaconda-plugin
# Install TexLive: Comprehensive TeX system for typesetting documents.
brew install --cask texlive
# Install QSpace Pro: Software for managing and organizing digital files.
brew install --cask qspace-pro
# Screen protect
brew install --cask fliqlo
# brew install --cask microsoft-office-businesspro
# brew install --cask microsoft-office
# brew install --cask wpsoffice
# brew install --cask wpsoffice-cn
# # Install font tools. -----------------------------------------------
# brew tap bramstein/webfonttools
# brew install sfnt2woff
# brew install sfnt2woff-zopfli
# brew install woff2
# # Install some CTF tools; see https://github.com/ctfs/write-ups. -----------------------------------------------
# # Install aircrack-ng: Tool for wireless network auditing and penetration testing.
# brew install aircrack-ng
# # Install bfg: Git repo cleaner and history simplifier.
# brew install bfg
# # Install binutils: Collection of binary tools, including object file utilities.
# brew install binutils
# # Install binwalk: Firmware analysis tool.
# brew install binwalk
# # Install cifer: Classical cipher tools.
# brew install cifer
# # Install dex2jar: Tools for converting Android .dex files to .jar files.
# brew install dex2jar
# # Install dns2tcp: Tool for tunneling TCP connections over DNS protocol.
# brew install dns2tcp
# # Install fcrackzip: Password cracking tool for zip archives.
# brew install fcrackzip
# # Install foremost: Forensics application to recover lost files.
# brew install foremost
# # Install hashpump: Tool for performing hash length extension attacks.
# brew install hashpump
# # Install hydra: Network login cracker.
# brew install hydra
# # Install john: Password cracker.
# brew install john
# # Install knock: Port-knock server and client.
# brew install knock
# # Install netpbm: Toolkit for manipulating graphic images.
# brew install netpbm
# # Install nmap: Network exploration and security auditing tool.
# brew install nmap
# # Install pngcheck: PNG image file analysis tool.
# brew install pngcheck
# # Install socat: Multipurpose relay for bidirectional data transfer.
# brew install socat
# # Install sqlmap: Automatic SQL injection and database takeover tool.
# brew install sqlmap
# # Install tcpflow: TCP/IP packet capture program.
# brew install tcpflow
# # Install tcpreplay: Tool for replaying network traffic.
# brew install tcpreplay
# # Install tcptrace: TCP dump file analysis tool.
# brew install tcptrace
# # Install ucspi-tcp: Tools for building TCP client-server applications.
# brew install ucspi-tcp
# # Install xpdf: PDF viewer and toolkit.
# brew install xpdf
# # Install xz: Compression utility.
# brew install xz
# Install other useful binaries. -----------------------------------------------
# Install ack: Tool for searching text files for patterns.
brew install ack
# Install git: Distributed version control system.
brew install git
# Install git-lfs: Git extension for versioning large files.
brew install git-lfs
# Install gs: Ghostscript, a PostScript and PDF interpreter.
brew install gs
# Install lua: Powerful, efficient, lightweight scripting language.
brew install lua
# Install lynx: Text-based web browser.
brew install lynx
# Install p7zip: Command-line file archiver with high compression ratio.
brew install p7zip
# Install pigz: Parallel implementation of gzip for faster compression.
brew install pigz
# Install pv: Pipe viewer for monitoring data progress.
brew install pv
# Install rename: Perl script for renaming multiple files.
brew install rename
# Install rlwrap: Readline wrapper for command-line tools.
brew install rlwrap
# Install ssh-copy-id: Tool for securely installing SSH keys on remote servers.
brew install ssh-copy-id
# Install tree: Display directory structure as a tree.
brew install tree
# Install vbindiff: Visual binary diff tool.
brew install vbindiff
# Install zopfli: Compression algorithm implementation.
brew install zopfli
# Remove outdated versions from the cellar.
brew cleanup