This topic got started with my blog post on Cross Platform Produtivity. June 2018 offered opportunity to setup a new mac allowed me to document the steps taken to configure and install the apps I find useful on a mac:
Ensure OSX system updates are applied and reboots needed are done.
Rename the system: Settings -> Sharing -> insert new name
install homebrew
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
install chrome via homebrew: brew cask install google-chrome
brew install masmas lucky Xcodemas search Xcode | head and identify the aplication code to run Xcode i.e: mas install 497799835check for out dated Apps using mas: mas outdated and even do a mas upgrade to install all pending updates needed.
setup capslock as another control key
Terminal App -> Preferences -> General -> Set Homebrew as default profile for new windows.
brew cask install spectacletypora brew cask install typora for great markdown editing and viewing application.
tmux: brew cask install tmux
ssh-keygen~/.ssh/id_rsa-(machine name) and set a passphrase when prompted.~/.ssh/id_rsa-(machine name).pub and append current year & month comment section at end of the line so (user name)@(machine name-201806defaults write com.apple.Terminal FocusFollowsMouse -bool truealias cfg='/usr/bin/git --git-dir=$HOME/.cfg/ --work-tree=$HOME'echo '[[ -s $HOME/.bashrc ]] && source $HOME/.bashrc' > .profilebrew install bash/usr/local/bin/bash to the /etc/shells/usr/local/bin/bashecho $BASH_VERSION and seeing newer than 3.2Install bash-completion: brew install bash-completion
brew cask install iterm2 and configure as a drop down terminal:
^; (control and ; together)Install Docker for Mac
Install alfred brew cask install alfred and configure it for the control + space hot key
brew install ruby-installbrew install chrubyecho ruby-2.5.1 > ~/.ruby-version
ruby-install `cat ~/.ruby-version`
source /usr/local/share/chruby/chruby.sh
chruby `cat ~/.ruby-version`
gem install bundler
cd ~/.rubies # dayne sauce
bundl
brew cask install gimp
needed convert so installed imagemagick: brew install imagemagick
brew install ngrok
brew cask install scribus-dev - desktop publishing app scribus
brew tap osgeo/osgeo4macbrew cask install xquartzbrew install qgis2pip install psycopg2 matplotlib pyparsing \
requests future jinja2 pygments
ln -Fs `find $(brew --prefix) -name "QGIS.app"` /Applications/QGIS.app
qgis2 # launch & test
ruby-install ruby-2.5.1
brew install chruby
chruby ruby-2.5.1
Click to see the old (2013 era) setup notes
This topic got started with my blog post on Cross Platform Produtivity.
System Preferences -> Keyboard -> Modifier Keys -> Capslock as Control
System Preferences -> Mission Control -> Hot Corners : Top Left Application Windows - Top Right Mission Control
System Preferences -> Dock -> Check Automatically hide and show the Dock & Enable Magnification
Disable the dashboard (who uses that?) via terminal
defaults write com.apple.dashboard mcx-disabled -boolean true
killall Dock
xcode-select --installThe following are non-AppStore installs:
Time to get the real magic sauce going that transforms this bucket into a rocket ship. Make sure you got GitHub Mac, XCode and the XCode command line utils already.
This is installed via ruby which OSX 10.9 (Mavericks) ships with ruby2.0.0p247. Awesome enough for that job but not for long.
ruby <(curl -fsSkL raw.github.com/mxcl/homebrew/go)
# ... let that do magic
# then general magic follows:
brew doctor # sanity check brew
brew search # search for an application
brew install <application-name> # install it
brew list # list all programs installed
brew remove <application-name> # toast it
brew update # keep your brew happy
cd /usr/local/Cellar # check out your stuff
If all is kosher then time to slam home a pile of tools:
brew install htop moreutils tmux tree
brew install chruby
brew install ruby-build
ruby-build 2.0.0-p247
chruby 2.0.0-p247
Download the dmg file: http://git-annex.branchable.com/install/OSX/
Copy it to your Applications folder and in Finder right click on it to open it.
Then add the following to your .bashrc
# GIT ANNEX
ANNEX_HOME=/Applications/git-annex.app/Contents/MacOS
if [[ -s $ANNEX_HOME ]]; then
PATH=$PATH:$ANNEX_HOME
fi
curl -L https://www.opscode.com/chef/install.sh | sudo bash
2013.11.23: Latest OSX failed. See following gist for the fix: install chef OSX mavericks