THIS IS A WORK IN PROGRESS USING THE YOSEMITE BETA - DO NOT RELY ON IT!
Install OSX on a fresh drive. I recommend using Disk Utility to repartition the entire drive as 1 partition, as this clears any hidden volumes.
Once the initial install is complete, the OSX Setup Assistant will create your first adminstrator account.
I recommend against migrating existing data or connecting to your Apple ID or iCloud — if you need to later you can use Migration assistant
When asked:
How do you want to transfer your information? Don't transfer any information now.
Sign in with your Apple Id? Don't sign in.
Whe OSX Setup Assistant requests you create user:
Full Name: "[MachineName] Administrator" Account Name: "Admin"
When Finder opens, open the App Store
<cmd>+<space> App Store<return>
Navigate to last tab "Updates", wait through spinner to make sure that "No Update Available"
Or,
Open Terminal (cmd-space" "Terminal")
sudo softwareupdate -l
sudo softwareupdate -ia
$ if [ ! -d ~/bin ]; then mkdir -p ~/bin; fi
Don't forget to add to .bashrc
PATH=$PATH:$HOME/bin
export PATH
xcode-select -p
# xcode-select: error: unable to get active developer directory, use xcode-select --switch
to set one (or see man xcode-select
)
xcode-select --install
xcode-select -p
BuildStrings CpMac DeRez GetFileInfo MergePef MvMac ResMerger Rez RezDet RezWack SetFile SplitForks UnRezWack ar as asa bison c++ c89 c99 cc clang clang++ cmpdylib codesign_allocate cpp ctags ctf_insert dsymutil dwarfdump dyldinfo flex flex++ g++ gatherheaderdoc gcc gcov git git-cvsserver git-receive-pack git-shell git-upload-archive git-upload-pack gm4 gnumake gperf hdxml2manxml headerdoc2html indent install_name_tool ld lex libtool lipo lldb llvm-cov llvm-profdata lorder m4 make mig mkdep nasm ndisasm nm nmedit otool pagestuff projectInfo ranlib rebase redo_prebinding resolveLinks rpcgen segedit size strings strip svn svnadmin svndumpfilter svnlook svnrdump svnserve svnsync svnversion unifdef unifdefall unwinddump what xml2man yacc
cd /Applications xattr -d com.apple.quarantine Xcode6-Beta7.app
aegus:~ christophera$ gcc --version xcode-select: note: no developer tools were found at '/Applications/Xcode.app', requesting install. Choose an option in the dialog to download the command line developer tools.
aegus:~ christophera$ gcc --version Configured with: --prefix=/Library/Developer/CommandLineTools/usr --with-gxx-include-dir=/usr/include/c++/4.2.1 Apple LLVM version 6.0 (clang-600.0.51) (based on LLVM 3.5svn) Target: x86_64-apple-darwin14.0.0 Thread model: posix
--
install homebrew http://brew.sh
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew doctor
brew update brew doctor
echo "gem: --no-document" >> ~/.gemrc
sudo gem update --system curl -L https://get.rvm.io | bash -s stable --rails --autolibs=enable sudo gem update --system
brew install git
git config --global color.ui true git config --global user.name "ChristopherA" git config --global user.email "[email protected]" git config --global credential.helper osxkeychain
install bash-completion http://bash-completion.alioth.debian.org/ & https://github.com/GArik/bash-completion
You can print a list of completion commands with complete -p and see the source of a function with declare -f
brew install bash-completion brew info bash-completion
The whathis database, used by whatis and apropos, is only generated weekly, so run it after adding commands.
sudo periodic weekly
install cask: http://caskroom.io or search for casks at http://caskroom.io/search
brew install caskroom/cask/brew-cask
install gitx http://gitx.frim.nl
brew cask install gitx
install iterm: http://iterm2.com
brew cask install iterm2
install atom: https://atom.io
brew cask install atom
install cheatsheets: http://www.cheatsheetapp.com/CheatSheet/
brew cask install cheatsheet
sudo gem install cocoapods
This will clone my personal set of dotfiles and shell tools. The tool makesymlinks.sh will create symlinks of profile files into the home dir.
cd ~
git clone https://github.com/ChristopherA/dotfiles.git ~/.dotfiles
cd .dotfiles
./makesymlinks.sh
This installs my default Github credentials (edit to make them your own before using!). Otherwise this file is for local (only for this specific machine) shell profile information.
cd ~
curl -O https://gist.githubusercontent.com/ChristopherA/503b172a5fcae5410492/raw/711b2279c97a0d0771c54679dbe85774f4aec333/.bash_profile.local
defaults write com.apple.screencapture disable-shadow -bool true
mkdir Pictures/Screenshots defaults write com.apple.screencapture location ~/Pictures/Screenshots/ killall SystemUIServer
defaults write com.apple.finder ShowExternalHardDrivesOnDesktop -bool true defaults write com.apple.finder ShowHardDrivesOnDesktop -bool true defaults write com.apple.finder ShowMountedServersOnDesktop -bool true defaults write com.apple.finder ShowRemovableMediaOnDesktop -bool true
defaults write com.apple.finder QLEnableTextSelection -bool TRUE
killall Finder
Hidden apps on the dock are transparent
defaults write com.apple.Dock showhidden -bool TRUE
killall Dock
defaults write NSGlobalDomain NSDocumentSaveNewDocumentsToCloud -bool FALSE
Current Xquartz https://xquartz.macosforge.org/landing/
brew cask install xquartz
AppZapper http://appzapper.com
brew cask install appzapper