Navigate back to the homepage

OS X environment setup guide

Sergey Pogorelov
December 7th, 2018 · 1 min read

When I used Ubuntu as my main system I experimented a lot and often reinstalled the system. I’ve got to the conclusion that it might be handy to have a list of steps to do after a fresh system install.

Initially, I took a textbook and wrote down applications that I’ll need to install on a fresh system. With time I’ve decided to create a guide and put it to my GitHub. It stills there. After all, I’ve realized that it’s possible to create a few scripts that will install everything for me.

Currently, I’m using OS X so I’ve decided to do the same script and guide for OS X.


  • My post-install script:
1echo "Enter your name:"
2read NAME
3echo "Enter your email:"
4read EMAIL
6# Install xcode console developer tools
7xcode-select --install
9# Git configuration
10git config --global user.name $NAME
11git config --global user.email $EMAIL
12git config --global credential.helper osxkeychain
14# Homebrew installation
15/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
17# Check if Homebrew installed correctly
18brew doctor
20# Disable Homebrew analytics
21brew analytics off
23brew install zsh autojump httpie tree gradle p7zip pstree nvm
25# Quick look plugins
26brew cask install qlcolorcode qlstephen qlmarkdown quicklook-json quicklook-csv suspicious-package
28# Development software
29brew cask install java intellij-idea-ce visual-studio-code postman docker pycharm-ce dash sourcetree
31# Software
32brew cask install appcleaner google-chrome transmission vlc calibre spotify slack balenaetcher
34# Install zsh-syntax-higlighting plugin
35git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
37# install oh my zsh
38sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
  • My .zshrc config:
1# Path to your oh-my-zsh installation.
2export ZSH="/Users/sergeioff/.oh-my-zsh"
9 git
10 autojump
11 docker
12 gradle
13 httpie
14 mvn
15# ng
16 npm
17# vagrant
18 vscode
19 yarn
20 colored-man
21 zsh-syntax-highlighting
24source $ZSH/oh-my-zsh.sh

iTerm2 profile setup

  • Select Solarized dark color scheme:

    Color scheme selection tab
  • Select Source Code Variable Italic font:

    Font selection
  • Load natural text editing preset:

    Load text editing preset

Adjust system settings:

  • Show battery percentage
  • Use stacks on Desktop
  • Disable Bluetooth
  • Link Google account (for calendar)
  • Disable “Show recent applications in Dock”
  • Show everything in Finder sidebar
    Finder sidebar settings

This way simplifies a new environment setup and saves a lot of time since almost everything is automatized.

Join my email list and get notified about new content

Be the first to receive my latest content with the ability to opt-out at anytime. I promise not to spam your inbox or share your email with any third parties.

More articles from Pogorelovs

Unleash - ready to go feature toggle solution

Unleash is a feature toggle system that might be set-up in a minutes...

July 10th, 2020 · 1 min read

Installation and configuration of NX server on remote host

Installation and configuration of NX server on remote host...

April 13th, 2020 · 1 min read
© 2018–2020 Pogorelovs
Link to $https://github.com/sergeioffLink to $https://www.linkedin.com/in/sergeioff