forked from CodingGarden/mac-setup
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.sh
44 lines (23 loc) · 820 Bytes
/
setup.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
# install xcode build tools
xcode-select --install
# install homebrew
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
# install homebrew formulae
# install homebrew casks
# setup bash_profile and other dot files
cd ~
curl -O https://raw.githubusercontent.com/w3cj/dotfiles/master/.bash_profile
curl -O https://github.com/w3cj/dotfiles/blob/master/.gitignore
# configure git
git config --global user.name w3cj
git config --global user.email [email protected]
git config --global core.editor nano
# install node version manager
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/HEAD/install.sh | bash
nvm install lts
nvm install latest
# global npm installs
nvm use latest
npm install -g lite-server gitignore license
# create dev folder
mkdir ~/dev