Skip to content

Instantly share code, notes, and snippets.

@kierzniak
Forked from zenorocha/.hyper.js
Last active December 11, 2019 10:06
Show Gist options
  • Save kierzniak/3cc2c556c44bd991bf6a to your computer and use it in GitHub Desktop.
Save kierzniak/3cc2c556c44bd991bf6a to your computer and use it in GitHub Desktop.

Setup Mac OS X

1. Run Software Update

Make sure everything is up to date. Go to "System Preferences" > "Software Updates". If necessary, update your system.

2. Install Xcode and its "Command Line Tools"

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

xcode-select --install

3. Install Homebrew

Homebrew is a free/open source software package management system that simplifies the installation of software on the Mac OS X operating system.

ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

4. Install homebrew packages

Install first curl

brew install curl

then install homebrew packages using command:

curl -L https://gist.githubusercontent.com/kierzniak/3cc2c556c44bd991bf6a/raw/780ac3a1f4bdd36f4e5330de4eac0acde579a90b/02-software.sh | sh

5. Install RVM

curl -sSL https://get.rvm.io | bash -s stable --ruby

If you manage your dotfiles by your own you can instruct RVM to not change the shell initializations files

curl -sSL https://get.rvm.io | bash -s stable --ruby -- --ignore-dotfiles

Install last stable ruby version

rvm install 2.6

Set ruby 2.6 as default version

rvm --default use 2.6

Install required gem packages

gem install bundler

6. Install Node.js and NVM

Download and install Node.js and NPM

Install NVM

curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.1/install.sh | bash

Install last stable node version

nvm install lts/dubnium

Install global npm packages

npm install -g bower grunt-cli gulp-cli

7. Install Oh-my-zsh

curl -L http://install.ohmyz.sh | sh

8. Install Dotfiles

curl -L https://raw.githubusercontent.com/kierzniak/dotfiles/master/install.sh | sh

9. Install Softwares

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

curl -L https://gist.githubusercontent.com/kierzniak/3cc2c556c44bd991bf6a/raw/f5adde17ac28f0ada0ff0937c30ab359fa65853c/03-applications.sh | sh

What's included?

Look in the file file to find out.

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

Manually

10. Generate SSH keys for your new machine

ssh-keygen -t rsa -b 4096 -C "[email protected]"

Upload your new generated public key to the following services:

11. Download IE test VMs for VirtualBox

These take a while to download, so maybe do it on a separate day as a background process.

curl -s https://raw.githubusercontent.com/xdissent/ievms/master/ievms.sh | env IEVMS_VERSIONS="11 EDGE" bash

#!/bin/sh
# development
brew install git
brew install git-flow
brew install subversion
brew install composer
brew install mysql
brew install sqlite
brew install dnsmasq
brew install bzip2
brew install wget
brew install nmap
brew install imagemagick
brew install exiftool
brew install ffmpeg
brew install faac
brew install flac
brew install rsync
brew install lftp
brew install tree
brew install colordiff
brew install unrar
#!/bin/sh
# Browsers
brew cask install google-chrome
brew cask install firefox
brew cask install opera
# Editors
brew cask install visual-studio-code
brew cask install phpstorm
# Virtual Environments
brew cask install docker
brew cask install virtualbox
brew cask install vagrant
# Communications
brew cask install postbox
brew cask install slack
# Tools
brew cask install hyper
brew cask install sequel-pro
brew cask install tableplus
brew cask install transmit
brew cask install postman
brew cask install toggl
brew cask install poedit
brew cask install forticlient
brew cask install google-drive-file-stream
# Productivity
brew cask install 1password
brew cask install keeweb
brew cask install alfred
brew cask install focus
brew cask install notion
# Simulate middleclick with 3 finger tap
brew install middleclick
# Other
brew cask install grammarly
brew cask install handbrake
brew cask install sketch
brew cask install skitch
brew cask install spotify
brew cask install the-unarchiver
brew cask install vlc
# Quick Look extensions https://github.com/sindresorhus/quick-look-plugins
brew cask install qlcolorcode qlstephen qlmarkdown quicklook-json qlimagesize suspicious-package quicklookase qlvideo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment