Full environment with preferences and installed software for initial install and on-going sync between devices.
Install XCode and accept license, via app store
Install XCode CLT
xcode-select --install
Download latest setup file and run.
curl --silent https://raw.githubusercontent.com/lifekaizen/mac-init/master/setup-mac-os.sh | bash
Link gitconfig.
ln -s ~/dev_local/mac-init/dot_config/.gitconfig ~/.gitconfig
- Enter license information of purchased applications.
- Manually set un-automatable shortcuts
Execute bootstrap
function freely which in turn executes the bootstrapping script.
% ln -s <path_to>/mac-init/dot_config/.zshrc ~/.zshrc
# check
% ls -l ~/.zshrc
# lrwxr-xr-x 1 <user> staff 45 <date> /Users/<user>/.zshrc -> /Users/<user>/<path>/mac-init/dot_config/.zshrc
Update path
export PATH=/usr/local/anaconda3/bin:$PATH
To run:
source /usr/local/anaconda3/bin/activate
Update path
export ANDROID_HOME=$HOME/Library/Android/sdk
export PATH=$PATH:$ANDROID_HOME/emulator
export PATH=$PATH:$ANDROID_HOME/tools
export PATH=$PATH:$ANDROID_HOME/tools/bin
export PATH=$PATH:$ANDROID_HOME/platform-tools
Update path
export PATH=/usr/local/texlive/2018/bin:$PATH
export PATH=/usr/local/texlive/2018/bin/x86_64-darwin/xelatex:$PATH
export PATH=/usr/local/texlive/2018/bin/x86_64-darwin:$PATH
export PATH=/usr/local/texlive/2018/texmf-dist/tex/latex:$PATH
export PATH=/usr/local/texlive/2018/texmf-dist/tex/:$PATH
Save all installed:
brew bundle dump --all --describe --file=Brewfile
Check for missing applications:
brew bundle check -v --all --file={PATH}
Remove unneeded applications
brew bundle cleanup --force --file=[path]
Check for outdated and upgrade:
brew outdated
brew upgrade
store basic dotfiles
choose brew and cask install applications and dev environments
Check missing packages: brew list --cask
May need to be in dir with Brewfile