Skip to content

Instantly share code, notes, and snippets.

@jsvine
Last active May 10, 2021 13:43
Show Gist options
  • Star 15 You must be signed in to star a gist
  • Fork 3 You must be signed in to fork a gist
  • Save jsvine/9751095 to your computer and use it in GitHub Desktop.
Save jsvine/9751095 to your computer and use it in GitHub Desktop.
First things to install on a new Mac OSX [WIP]

I'm setting up a new Mac. I'm using this Gist to keep track of the software I install (roughly in order, in case it's useful later.

Apps

Basic Development Setup

brew install vim
brew install git
brew install hg
brew install tree
brew install wget
brew install watch
brew tap phinze/cask
brew install brew-cask
# Fixes for PIL, matplotlib, etc.
brew install jpeg
brew install libpng
brew install freetype
rm /usr/local/lib/libpng16.16.dylib
ln -s /usr/X11/lib/libpng15.dylib /usr/local/lib/libpng16.16.dylib
# For SciPy, ODBC, etc.
brew install fortran
brew install unixodbc
brew install gdal
# Haskell and pandoc
brew install haskell-platform
brew install cabal
cabal update
cabal install pandoc

SSH Key Generation

ssh-keygen -t rsa -C "jsvine@gmail.com"
ssh-add ~/.ssh/id_rsa

Python

brew install python
brew install python3
pip install readline
pip install virtualenvwrapper
# Add to ~/.bashrc
export VIRTUALENVWRAPPER_PYTHON=`which python`
export WORKON_HOME=$HOME/.virtualenvs
source /usr/local/bin/virtualenvwrapper.sh
# iPython, and iPython Notebook requirements
pip install ipython
pip install pyzmq
pip install jinja2
pip install tornado

Ruby

brew install rbenv ruby-build
# Add to ~/.bashrc
export PATH="$HOME/.rbenv/bin:$PATH"
eval "$(rbenv init -)"
LATEST_RUBY_VERSION=$(rbenv install -l | grep -E "^[0-9\. ]*(-p[0-9]*)?$" | tail -n 1)
rbenv install $LATEST_RUBY_VERSION
rbenv global $LATEST_RUBY_VERSION
gem install bundle

JavaScript / Node

brew install node

Vim

mkdir -p ~/.vim/autoload ~/.vim/bundle; \
curl -Sso ~/.vim/autoload/pathogen.vim \
    https://raw.github.com/tpope/vim-pathogen/master/autoload/pathogen.vim
cd ~/.vim/bundle
git clone https://github.com/scrooloose/nerdtree.git
git clone https://github.com/altercation/vim-colors-solarized.git
git clone https://github.com/mikewest/vimroom.git
git clone https://github.com/plasticboy/vim-markdown

Docker

brew cask install virtualbox
brew install docker
brew install boot2docker

Haskell and Haskell-based programs

# Haskell and cabal
brew install haskell-platform
brew install cabal
cabal update
# Pandoc
cabal install pandoc

Misc.

@inancgumus
Copy link

great. thank you. you can also use brew cask for most of the tasks. i'm also developing an auto system installer for os x'es right now, for myself. i hope i would open it to the public soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment