These are some of the things I install when I setup a Mac for the first time. It's not automated because how often do you do this?
# brew
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
# zsh
sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
# brew packages
brew install wget curl git python ruby macvim vim
# node
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.32.1/install.sh | bash
nvm install node
# casks
brew cask install \
google-chrome \
iterm2 \
skype \
vlc \
keepingyouawake \
sublime-text \
1password
ssh-keygen -t rsa -b 4096 -C "adam@admm.io"
eval "$(ssh-agent -s)"
ssh-add ~/.ssh/id_rsa
You can then pbcopy < ~/.ssh/id_rsa.pub
and add your new SSH key to Github
First install Sublime Package Manager and then update Package Control.sublime-settings:
{
"bootstrapped": true,
"in_process_packages":
[
],
"installed_packages":
[
"Babel",
"ColorPicker",
"DocBlockr",
"Emmet",
"Git",
"GitGutter",
"HTML-CSS-JS Prettify",
"Oceanic Next Color Scheme",
"Package Control",
"SideBarEnhancements",
"SublimeLinter",
"SublimeLinter-contrib-eslint"
]
}
These are some global packages that I use frequently:
npm install -g create-react-app nodemon babel-cli
First install Vundle
git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim
Update ~/.vimrc
, heres something super basic:
set nocompatible " be iMproved, required
filetype off " required
" Vundle stuff
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
Plugin 'VundleVim/Vundle.vim'
Plugin 'pangloss/vim-javascript'
Plugin 'mxw/vim-jsx'
" All of your Plugins must be added before the following line
call vundle#end() " required
filetype plugin indent on " required
syntax on
colorscheme evening
let g:jsx_ext_required = 0
Then install the plugins: vim +PluginInstall +qall
Add some nice Quick Look plugins:
brew cask install qlcolorcode qlstephen qlmarkdown quicklook-json qlprettypatch quicklook-csv