-
Notifications
You must be signed in to change notification settings - Fork 0
/
plugins-install.sh
executable file
·145 lines (114 loc) · 3.69 KB
/
plugins-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
#!/usr/bin/env bash
echo "Do you want to install brew? [y,n]"
read input
if [[ $input == "Y" || $input == "y" ]]; then
echo "Installing..."
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
echo "Installation complete"
fi
echo "Do you want to install ccat? [y,n]"
read input
if [[ $input == "Y" || $input == "y" ]]; then
echo "Installing..."
brew list ccat &>/dev/null || brew install ccat
echo "Installation complete"
fi
echo "Do you want to install pip? [y,n]"
read input
if [[ $input == "Y" || $input == "y" ]]; then
echo "Installing..."
pip install --upgrade pip
echo "Installation complete"
fi
echo "Do you want to install wget? [y,n]"
read input
if [[ $input == "Y" || $input == "y" ]]; then
echo "Installing..."
brew list wget &>/dev/null || brew install wget
echo "Installation complete"
fi
echo "Do you want to install mkdocs? [y,n]"
read input
if [[ $input == "Y" || $input == "y" ]]; then
echo "Installing..."
pip install mkdocs
echo "Installation complete"
fi
echo "Do you want to install youtube-dl? [y,n]"
read input
if [[ $input == "Y" || $input == "y" ]]; then
echo "Installing..."
sudo -H pip install --upgrade youtube-dl
echo "Installation complete"
fi
echo "Do you want to install htop-osx? [y,n]"
read input
if [[ $input == "Y" || $input == "y" ]]; then
echo "Installing..."
brew list htop-osx &>/dev/null || brew install htop-osx
echo "Installation complete"
fi
echo "Do you want to install ffmpeg? [y,n]"
read input
if [[ $input == "Y" || $input == "y" ]]; then
echo "Installing..."
brew list ffmpeg &>/dev/null || brew install ffmpeg $(brew options ffmpeg | grep -vE '\s' | grep -- '--with-' | tr '\n' ' ')
echo "Installation complete"
fi
echo "Do you want to install yarn? [y,n]"
read input
if [[ $input == "Y" || $input == "y" ]]; then
echo "Installing..."
brew list yarn &>/dev/null || brew install yarn
echo "Installation complete"
fi
echo "Do you want to install vercel? [y,n]"
read input
if [[ $input == "Y" || $input == "y" ]]; then
echo "Installing..."
npm i -g vercel
echo "Installation complete"
fi
echo "Do you want to install Image magick? [y,n]"
read input
if [[ $input == "Y" || $input == "y" ]]; then
echo "Installing..."
brew list imagemagick &>/dev/null || brew install imagemagick
echo "Installation complete"
fi
echo "Do you want to install jq? [y,n]"
read input
if [[ $input == "Y" || $input == "y" ]]; then
echo "Installing..."
brew list jq &>/dev/null || brew install jq
echo "Installation complete"
fi
echo "Do you want to install httrack? [y,n]"
read input
if [[ $input == "Y" || $input == "y" ]]; then
echo "Installing..."
brew list httrack &>/dev/null || brew install httrack
echo "Installation complete"
fi
echo "Do you want to install ncdu? [y,n]"
read input
if [[ $input == "Y" || $input == "y" ]]; then
echo "Installing..."
brew list ncdu &>/dev/null || brew install ncdu
echo "Installation complete"
fi
echo "Do you want to install nvm? [y,n]"
read input
if [[ $input == "Y" || $input == "y" ]]; then
echo "Installing..."
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.1/install.sh | bash
echo "Installation complete"
fi
echo "Do you want to install sqsmover? [y,n]"
read input
if [[ $input == "Y" || $input == "y" ]]; then
echo "Installing..."
brew list sqsmover &>/dev/null || brew install sqsmover
echo "Installation complete"
fi
echo "Done!";