-
Format MacOs to have latest OS
-
Setup Apple ID (Settings / Internet Account / iCloud)
-
Install Xcode:
xcode-select --install
-
Install Homebrew and cask:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" brew install cask
-
Install git:
brew install git
-
Clone repo into new hidden directory:
git clone https://github.com/letiesperon/macsetup.git ~/.macsetup
-
Create symlinks in the Home directory to the real files in the repo:
rm ~/.gitconfig ln -s ~/.macsetup/dotfiles/.gitconfig ~/.gitconfig ln -s ~/.macsetup/dotfiles/.gitignore ~/.gitignore ln -s ~/.macsetup/dotfiles/.zshrc ~/.zshrc
-
Install the software listed in the Brewfile:
brew bundle --file ~/.macsetup/Brewfile
-
Manually sign in to 1Password
-
Manually sign in to Google Chrome to sync bookmarks
-
Manually sign in to Workona
-
Manually sign in to all my gmail.com accounts in Google Chrome
-
Manually add Internet Account of all my email accounts
-
Manually sign in in VSCode with Github to sync settings
-
Manually sign in to Warp with Google
-
Install ohMyZsh
wget https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh sh install.sh
-
Install zsh extension:
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
-
Restart terminal
-
Setup sublime text to be editor by default and configure
subl .
shortcut to open files:// Test first: this should open subl: /Applications/Sublime\ Text.app/Contents/SharedSupport/bin/subl . export PATH=/bin:/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:$PATH export EDITOR='subl -w' ln -s /Applications/Sublime\ Text.app/Contents/SharedSupport/bin/subl /usr/local/bin/subl
-
Follow installation for rbenv here. In short, for ruby 2.*:
brew install [email protected] readline libyaml gmp export RUBY_CONFIGURE_OPTS="--with-openssl-dir=$(brew --prefix [email protected])"
-
Create postgres role
createuser -s postgres
brew services restart postgresql
-
Install node:
sudo mkdir -p "/usr/local/n" sudo chown letiesperon "/usr/local/n" n lts