Skip to content

Repository files navigation

Setup Scripts for a New Dev Machine

Basic steps for a clean install

mkdir ~/github

cd ~/github
git clone https://github.com/othomas1984/mac-os-system-setup

cd mac-os-system-setup
./setup_all.sh

Specific scripts

Setup All

Calls these in order

  • setup_brew.sh
  • setup_zsh.sh
  • setup_ruby.sh

Setup Brew

  1. Installs Brew
  2. Runs brew bundle to install everything in the BrewFile

Note: For cocoapods to work through brew the rbenv shim at ~/.rbenv/shims/pod may need to be removed.

Setup zsh

  1. Sets the default shell to zsh
  2. Install Oh-My-ZSH
  3. Installs zsh-completions
  4. Copies .zshrc to ~/.zshrc.
    • Prompts if file already exists, and will save existing one to a new location if one chooses to continue.
  5. Installs iTerm Shell Integrations
  6. Instructs the user to manually run source ~/.zshrc to activate the new config immediately

Setup Ruby

  1. Installs the version of Ruby specified in .ruby-version so it is available system wide.
    • Does not set this version as the global version, but that can be manually done by calling rbenv global [version] inserting the version desired.

About

Scripts I use to get my dev environment setup on a new machine.

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages