Skip to content

Instantly share code, notes, and snippets.

@cstipkovic
Forked from zenorocha/.hyper.js
Last active May 7, 2022 19:19
Show Gist options
  • Star 9 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save cstipkovic/9118447 to your computer and use it in GitHub Desktop.
Save cstipkovic/9118447 to your computer and use it in GitHub Desktop.
My Mac OS X setup script
#!/bin/sh
# Install XCode and Commando Line Tools
xcode-select --install
# Install homebrew
/usr/bin/ruby -e " $(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
# Cask for Versions
brew tap caskroom/versions
# Apps
brew install raycast
brew install datagrip
brew install docker
brew install dropbox
brew install firefox
brew install franz
brew install intellij-idea
brew install iterm2
brew install rescuetime
brew install slack
brew install visual-studio-code
brew install skype
brew install spotify
brew install postman
brew install eqmac
# brew install teamviewer
# brew install alfred
# brew install microsoft-office
# brew install google-chrome
# CLI
brew install nvm
brew install docker-completion
brew install git bash-completion

Setup Mac OS X

1. Run Software Update

Make sure everything is up to date.

Software Update

2. Install Xcode and its "Command Line Tools"

  1. Go to App Store and install Xcode.
  2. Open and accept the terms
  3. Then go to the terminal and install "Command Line Tools":
sh xcode-select --install

Notice this only works for Mac OS X Mavericks (10.9). For earlier versions, continue to use the in-app download in Xcode.

3. Install Dotfiles

Visit my Dotfiles repo for instructions.

4. Install Softwares

Many softwares can be installed through homebrew-cask which makes the process way simpler:

curl -L https://gist.github.com/cstipkovic/9118447/raw/install_my_env.sh | bash

Just make sure to move all apps from /opt/homebrew-cask/Caskroom/ to /Applications. And to remove all installations files from /Library/Caches/Homebrew.

What's included?

Browser
Development
  • Docker for "virtual machines"
Other

Unfortunately some apps aren't available through homebrew-cask, so you need to install it manually.

App Store
Manually

5. Generate SSH keys for GitHub

Visit GitHub's official guide for instructions.

From that point on you're going to be able to do some git operations with GitHub \o/

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