-
Notifications
You must be signed in to change notification settings - Fork 0
/
tools_update.sh
executable file
·85 lines (78 loc) · 2.42 KB
/
tools_update.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
#!/bin/sh
# ------------------------------------------------------------------
# [gareth alexander] Command line tools updates
# Update script to keep command line tools updated
# ------------------------------------------------------------------
cd ~
git -C /usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask fetch --unshallow
brew update-reset && brew update && brew upgrade
brew outdated
brew upgrade --cask
brew list --cask | xargs brew upgrade --cask
# Check then relink php
php -v
brew unlink php && brew link --overwrite --force [email protected]
php -v
brew unlink php && brew link --overwrite --force [email protected]
php -v
brew unlink php && brew link --overwrite --force [email protected]
php -v
brew services restart php
npm update -g
npm install -g npm
export NVM_DIR=$HOME/.nvm;
source $NVM_DIR/nvm.sh;
nvm install 12
nvm use 12
node -v
nvm install 18
nvm use 18
node -v
nvm install 16
nvm use 16
node -v
ulimit -n 10000
export COMPOSER_PROCESS_TIMEOUT=2000
export COMPOSER_MEMORY_LIMIT=-1
composer selfupdate
# composer selfupdate --2
# composer selfupdate --1
composer clear-cache
# composer config -g disable-tls true
# composer config -g secure-http false
composer global update
# composer config -g disable-tls false
# composer config -g secure-http true
# vagrant box prune --keep-active-boxes
drush self-update
blt self-update
acli self-update --stable
cd -
# Open the tools in case they have been remove from the dock
open -a /Applications/Google\ Chrome.app
open -a /Applications/Firefox.app
open -a /Applications/Microsoft\ Edge.app
open -a /Applications/PhpStorm.app
open -a /Applications/Pulsar.app/
# open -a /Applications/Atom.app/
# open -a /Applications/Visual\ Studio\ Code.app
open -a /Applications/Meld.app
open -a /Applications/Sourcetree.app
# open -a /Applications/Utilities/Terminal.app
open -a /Applications/Slack.app
open -a /Applications/zoom.us.app
open -a /Applications/Spotify.app
open -a /Applications/Docker.app
open -a /Applications/Postman.app
open -a /Applications/Sequel\ Ace.app
# open -a /Applications/TablePlus.app
# open -a /Applications/Virtualbox.app
open -a /Applications/Dropbox.app
open -a /Applications/Google\ Drive.app
open -a /Applications/Microsoft\ Outlook.app
open -a /Applications/Microsoft\ Teams.app
open -a /Applications/Microsoft\ Word.app
open -a /Applications/Microsoft\ Excel.app
open -a /Applications/Grammarly\ Editor.app
# open -a /Applications/Clickup.app
open -a /Applications/Screaming\ Frog\ SEO\ Spider.app