Skip to content

Instantly share code, notes, and snippets.

@birkholz
Last active September 12, 2017 18:47
Show Gist options
  • Save birkholz/8f08e29c08e7db85535345fd517669b8 to your computer and use it in GitHub Desktop.
Save birkholz/8f08e29c08e7db85535345fd517669b8 to your computer and use it in GitHub Desktop.

New computer set up guide

Sets up:

  • OS X preferences
  • Brew
  • fish (replacement for bash)
  • Python (with fish integrations)
  • NodeJS

OS X

  • System Preferences
    • App Store
      • Uncheck "Install OS X updates"
      • Uncheck "Install system data files and security updates"
    • Dock
      • Change "Position on screen" to Left
    • Security & Privacy
      • Check "Require password immediately after sleep or screen saver begins"
      • Change "Allow apps downloaded from" to Anywhere
    • Keyboard
      • Shortcuts
        • Mission Control, uncheck everything
    • Mouse
      • Uncheck "Scroll direction: natural"
    • Trackpad
      • Point and click
        • Uncheck "Look up * data detectors"
        • Check "secondary click" and "tap to click"
      • Scroll & Zoom
        • Uncheck "scroll direction: natural"
      • More guestures
        • Uncheck "App Exposé"
    • Sound
      • Sound Effects
        • Uncheck "Play user interface sound effects"
        • Uncheck "Play feedback when volume is changed"

Shell

  • Update ~/.bash_profile
# Set architecture flags
export ARCHFLAGS="-arch x86_64"
# Ensure user-installed binaries take precedence
export PATH=/usr/local/bin:$PATH
# Load .bashrc if it exists
test -f ~/.bashrc && source ~/.bashrc
  • source ~/.bash_profile
  • xcode-select --install Install Xcode command line tools
  • Install brew
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew update
brew doctor
brew install wget
  • Install fish
brew install fish
echo "/usr/local/bin/fish" | sudo tee -a /etc/shells
chsh -s /usr/local/bin/fish
mkdir -p ~/.config/fish
echo "set -gx PATH /usr/local/bin $PATH" > ~/.config/fish/config.fish
  • Open new terminal (now fish)
  • Set up Fish
fish_config
fish_update_completions
curl -Lo ~/.config/fish/functions/fisher.fish --create-dirs git.io/fisher
fisher up
fisher birkholz/birkholz_fish

Languages

  • Install Python
brew install python
pip install --upgrade pip setuptools
pip install virtualfish
echo "eval (python -m virtualfish compat_aliases)" >> ~/.config/fish/config.fish
  • Install Node
sudo chown -R $USER:admin /usr/local/
brew install node
npm install --upgrade npm -g
echo "set -px PATH /usr/local/bin $PATH /Applications/Postgres.app/Contents/Versions/9.5/bin" >> ~/.config/fish/config.fish
@birkholz
Copy link
Author

TODO:

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