Awesome Open Source
Awesome Open Source

macOS Mojave v. 10.14 Setup

This is a simple list of instructions to make setting up your Apple computer as fast and efficient as possible for web development.

Read the tutorial


  • Keyboard > Text > Disable "Correct spelling automatically".
  • Security and Privacy > Firewall > On
  • Security and Privacy > General > App Store and identified developers
  • File Sharing > Off
  • Users & Groups > Login Items > Spectacle, Flux

Show Library folder

chflags nohidden ~/Library

Show hidden files

This can also be done by pressing command + shift + ..

defaults write AppleShowAllFiles YES

Show path bar

defaults write ShowPathbar -bool true

Show status bar

defaults write ShowStatusBar -bool true

Disable unidentified developer warnings

sudo spctl --master-disable


/usr/bin/ruby -e "$(curl -fsSL"

Mac App Store

brew install mas

Sign in

mas signin [email protected]


touch Brewfile
tap 'caskroom/cask'

brew 'git'
brew 'npm'

cask 'visual-studio-code'
cask 'firefox'
cask 'gimp'
cask 'google-chrome'
cask 'opera'
cask 'spectacle'
cask 'sequel-pro'
cask 'utorrent'
cask 'vlc'
cask 'macdown'

mas 'Slack', id: 803453959
mas 'Sip', id: 507257563 
mas 'Simplenote', id: 692867256 
mas 'Todoist', id: 585829637


Config - ~/.gitconfig

  name   = Firstname Lastname
  email  = [email protected]
  user   = hunter2
  a      = add
  ca     = commit -a
  cam    = commit -am
  cm     = commit -m
  s      = status
  pom    = push origin master
  pog    = push origin gh-pages
  puom   = pull origin master
  puog   = pull origin gh-pages
  cob    = checkout -b
  co     = checkout
  l      = log --oneline --decorate --graph
  lall   = log --oneline --decorate --graph --all
  ls     = log --oneline --decorate --graph --stat
  lt     = log --graph --decorate --pretty=format:'%C(yellow)%h%Creset%C(auto)%d%Creset %s %Cgreen(%cr) %C(bold blue)%an%Creset'
  helper = osxkeychain


Config - ~./ssh/config

Host example
    User example-user
    IdentityFile key.pem

Generate SSH key

ssh-keygen -t rsa -b 4096 -C "[email protected]"
eval "$(ssh-agent -s)"
ssh-add -K ~/.ssh/id_rsa


Config - ~/.bash_profile

# Update and clean homebrow in one command
alias brewup='brew update; brew upgrade; brew cleanup; brew doctor'

# File navigation
alias ll='ls -al'
alias ..='cd ..'
alias ...='cd ../..'
alias ....='cd ../../..'
alias .....='cd ../../../..'
alias ......='cd ../../../../..'

# Add colors to Terminal
export CLICOLOR=1
export LSCOLORS=ExFxBxDxCxegedabagacad
export GREP_OPTIONS='--color=always'
export GREP_COLOR='1;32;40' # green

# Get Git branch
parse_git_branch() {
  git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/ (\1)/'

# Format to [email protected]:/path/to/directory (branch-name)
export PS1="\[\033[36m\]\u\[\033[m\]@\[\033[32m\]\h:\[\033[33;1m\]\w\$(parse_git_branch)\[\033[m\]\$\n==> "

# Use Git completion
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/" ] && \. "$NVM_DIR/"  # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion"  # This loads nvm bash_completion

if [ -f ~/.git-completion.bash ]; then
  . ~/.git-completion.bash

# Path
export PATH=$HOME/bin:$PATH
export PATH=./node_modules/.bin:$PATH


Download Node

curl -o- | bash
nvm install node
nvm use node

Update Node.js

nvm install node --reinstall-packages-from=node

Find all outdated global packages

npm outdated -g --depth=0

Ruby Version Manager

Download rvm

\curl -sSL | bash -s stable

Install Ruby version

rvm install ruby-head
rvm --default use 2.4.0
gem install bundler

Install Composer

curl -sS | php
sudo mv composer.phar /usr/local/bin/composer

Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
command-line (547
frontend (524
ssh (343
apple (285
settings (55
webdevelopment (48
preferences (35