generated from patevs/semantic-template
-
Notifications
You must be signed in to change notification settings - Fork 2
/
deps.sh
118 lines (83 loc) · 2.13 KB
/
deps.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
#!/bin/bash
# run.sh
# ------
echo '' # new line
# --------------------------------------------------------------------------------------------------- #
mkdir ~/code
cd ~/code
# Dracula Theme
git clone https://github.com/dracula/terminal-app.git
git clone https://github.com/dracula/iterm.git
# TODO: Install themes automatically
# --------------------------------------------------------------------------------------------------- #
# XCode
xcode-select --install
# Install Homebrew
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
# TODO: Ensure brew install successfully
# Hack-NF
brew tap homebrew/cask-fonts
brew cask install font-hack-nerd-font
# iTerm2
brew cask install iterm2
# Oh-My-Zsh
sh -c "$(curl -fsSL https://raw.githubusercontent/ohmyzsh/ohmyzsh/master/tools/install.sh)"
# Zsh syntax highlighting
brew install zsh-syntax-highlighting
echo "source /usr/local/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh" >> ~/.zshrc
# NodeJS
# brew install node # Latest
brew install node@14 # LTS
# Add node to path
echo 'export PATH="/usr/local/opt/node@14/bin:$PATH"' >> ~/.zshrc
# TODO: Ensure node installed successfully
# Update NPM
npm install --global npm
rm -rf /usr/local/opt/node@14/lib/node_modules/npm
# NPM Global Packages
npm install --global \
check-it-out \
diff-so-fancy \
g3l \
gtop \
npm-check \
npm-check-updates \
ntl \
neovim \
open-cli \
emus \
react-native-cli \
pure-prompt
# Rbenv
brew install rbenv
echo 'eval "$(rbenv init -)"' >> ~/.zshrc
# Verify rbenv install
curl -fsSL https://github.com/rbenv/rbenv-installer/raw/master/bin/rbenv-doctor | bash
# Ruby
rbenv install 2.7.2
rbenv rehash
rbenv global 2.7.2 system
# Ruby Gems
sudo gem update --system
sudo gem update
sudo gem install \
neovim \
cocoapods
# Wget
brew install wget
# Hub
# brew install hub
# Yarn
brew install yarn
# LSD
brew install lsd
# Bat
brew install bat
# Neovim
brew install neovim
# VS Code
brew cask install visual-studio-code
# Watchman
brew install watchman
# --------------------------------------------------------------------------------------------------- #
# EOF #