forked from mathiasbynens/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 0
/
brew.sh
executable file
·99 lines (74 loc) · 2.26 KB
/
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
#!/usr/bin/env bash
# Make sure we’re using the latest Homebrew.
brew update
# Upgrade any already-installed formulae.
brew upgrade
# install zsh and completion
brew install zsh zsh-completions
# override system defaults
local BREW_PREFIX=$(brew --prefix)
brew install coreutils # Don’t forget to add `$(brew --prefix coreutils)/libexec/gnubin` to `$PATH`.
ln -s "${BREW_PREFIX}/bin/gsha256sum" "${BREW_PREFIX}/bin/sha256sum"
brew install moreutils # Install some other useful utilities like `sponge`.
brew install findutils # Install GNU `find`, `locate`, `updatedb`, and `xargs`, `g`-prefixed.
brew install gnu-sed --with-default-names # Install GNU `sed`, overwriting the built-in `sed`.
brew install wget --with-iri # Install `wget` with IRI support.
brew install go
brew install git
brew install vim --with-override-system-vi
brew install grep
brew install openssh
brew install screen
# useful binaries
brew install exiv2
brew install ssh-copy-id
brew install tree
brew install fzf
yes | $(brew --prefix)/opt/fzf/install
brew install ffmpeg
# coding stuff
brew install node
# download
brew install youtube-dl
brew install aria2
# archive
brew install monolith
if [[ "$(uname -s)" == "Darwin" ]]; then
# quicklook
# ref: https://github.com/sindresorhus/quick-look-plugins
# brew install qlcolorcode --cask
# brew install qlstephen --cask
# brew install qlmarkdown --cask
# brew install quicklook-json --cask
# brew install quicklook-csv --cask
# brew install webpquicklook --cask
# clean up
brew install appcleaner --cask
# system
brew install spectacle --cask
# files
brew install keka --cask
# wget -c https://github.com/lecepin/WeChatVideoDownloader/releases/download/v1.0.0/WeChatVideoDownloader-1.0.0.dmg --output-document WeChatVideoDownloader-1.0.0.dmg
# media
brew install vlc --cask
# dev
brew install visual-studio-code --cask
brew install orbstack --cask
# note
brew install notion --cask
# news
brew install netnewswire --cask
# music
brew install musicbrainz-picard --cask
# gaming
brew install steam --cask
# mac app store cmd management
brew install mas
# social
mas lucky WeChat
# safari extension
mas install 1432731683 # Adblock Plus for Safari ABP
# tools
mas lucky MenubarX
fi
brew cleanup