-
Notifications
You must be signed in to change notification settings - Fork 0
/
install.sh
145 lines (114 loc) · 3.47 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
#!/bin/bash
homedir='/Users/$(whoami)/'
echo 'Install homebrew'
echo '----------------'
echo install homebrew
sudo rm -rf /usr/local/Cellar /usr/local/.git && brew cleanup
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
echo 'eval "$(/opt/homebrew/bin/brew shellenv)"' >> $homedir
eval "$(/opt/homebrew/bin/brew shellenv)"
echo 'Install GIT'
echo '-----------'
brew install git
echo 'Install node'
echo '------------'
brew install node
echo 'Configure npm'
echo '-------------'
# Create a directory for global packages and tell npm where to store globally installed packages
mkdir "${HOME}/.npm-packages"
npm config set prefix "${HOME}/.npm-packages"
echo 'Install pkg-config'
echo '------------------'
brew install pkg-config
echo 'Install wget'
echo '------------'
brew install wget
echo 'Install PHPStorm'
echo '----------------'
brew install --cask phpstorm
echo 'Install Google Chrome'
echo '---------------------'
brew install --cask google-chrome
echo 'Install Mozilla Firefox'
echo '---------------'
brew install --cask firefox
echo 'Install Microsoft Edge'
echo '----------------------'
brew install --cask microsoft-edge
echo 'Install TablePlus'
echo '-----------------'
brew install --cask tableplus
echo 'Install php'
echo '-----------'
brew install [email protected]
brew link --overwrite --force [email protected]
echo 'Install composer'
echo '----------------'
EXPECTED_COMPOSER_CHECKSUM="$(curl https://composer.github.io/installer.sig)"
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
ACTUAL_COMPOSER_CHECKSUM="$(php -r "echo hash_file('sha384', 'composer-setup.php');")"
if [ "$EXPECTED_COMPOSER_CHECKSUM" != "$ACTUAL_COMPOSER_CHECKSUM" ]
then
>&2 echo 'Error: Invalid installer checksum'
rm composer-setup.php
exit 1
fi
php composer-setup.php
rm composer-setup.php
mv composer.phar /usr/local/bin/composer
echo 'Install imagemagick'
echo '-------------------'
brew install imagemagick
echo 'Install imagick'
echo '---------------'
pecl install imagick
echo 'Install memcached'
echo '-----------------'
pecl install memcached
echo 'Install xDebug'
echo '--------------'
pecl install xdebug
echo 'Install Laravel Valet'
echo '---------------------'
composer global require laravel/valet
valet install
echo 'Install Mantis2GitHub'
echo '---------------------'
composer global require artemeon/mantis2github
echo 'Install ARTEMEON Installer'
echo '---------------------'
composer global require artemeon/installer
echo 'Install PHP Monitor'
echo '-------------------'
brew tap nicoverbruggen/homebrew-cask
brew install --cask phpmon
echo 'Install DBngin'
echo '--------------'
brew install --cask dbngin
echo 'Install pnpm'
echo '------------'
brew install pnpm
echo 'Install Microsoft Teams'
echo '-----------------------'
brew install --cask microsoft-teams
echo 'Install Microsoft Word'
echo '------------------------'
brew install --cask microsoft-word
echo 'Install Microsoft Excel'
echo '------------------------'
brew install --cask microsoft-excel
echo 'Install Microsoft PowerPoint'
echo '------------------------'
brew install --cask microsoft-powerpoint
echo 'Install Microsoft Outlook'
echo '------------------------'
brew install --cask microsoft-outlook
echo 'Install OpenVPN Connect'
echo '-----------------------'
brew install --cask openvpn-connect
echo '++++++++++++++++++++++++++++++'
echo '++++++++++++++++++++++++++++++'
echo 'All done!'
echo '++++++++++++++++++++++++++++++'
echo '++++++++++++++++++++++++++++++'