Skip to content

Instantly share code, notes, and snippets.

@rogeriopradoj
Last active Mar 24, 2017
Embed
What would you like to do?
Clean Install macOS Sierra 10.12

xcode

homebrew

brew cask

brew cask dropbox

mackup

# firewall turn on
sudo defaults write /Library/Preferences/com.apple.alf globalstate -int 1

# xcode
xcode-select --install

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

# cask
brew tap caskroom/cask

# dropbox
brew cask install dropbox

# mackup
brew install mackup
mackup restore

# Mac App Store command line interface
brew install mas

# oh-my-zsh
mv ~/.oh-my-zsh ~/.oh-my-zsh.bkp
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
mv ~/.oh-my-zsh ~/.oh-my-zsh.bkp2
mv ~/.oh-my-zsh.bkp ~/.oh-my-zsh

mv ~/.zshrc ~/.zshrc.bkp
mv ~/.zshrc.pre-oh-my-zsh ~/.zshrc
compaudit | xargs chmod g-w 
refresh

brew tap caskroom/fonts   
brew cask install font-menlo-for-powerline

brew install lastpass
/usr/local/Caskroom/lastpass/latest/LastPass Installer.app

brew tap caskroom/versions

brew cask install \
android-file-transfer \
atom \
battery-guardian \
betterzipql \
caffeine \
cakebrew \
disk-inventory-x \
docker \
endurance \
firefox \
firefoxdeveloperedition \
flash \
franz \
gfxcardstatus \
go2shell \
google-chrome \
google-chrome-canary \
google-drive \
handbrake \
itau \
iterm2-beta \
jadengeller-helium \
java \
lisanet-gimp \
magican \
openemu-experimental \
postman \
qlcolorcode \
qlimagesize \
qlmarkdown \
qlprettypatch \
qlstephen \
quickgeojson \
quicklook-csv \
quicklook-json \
skitch \
skype \
smcfancontrol \
sourcetree \
sqlitebrowser  \
sqlitestudio \
sublime-text-dev \
suspicious-package \
thunderbird \
toggldesktop \
torbrowser \
totalfinder \
transmission \
unrarx \
vagrant \
virtualbox \
visual-studio-code \
vlc \
webpquicklook \
xbox360-controller-driver \
xquartz-beta \
inkscape \
servo

# Set default Finder location to home folder (~/)
defaults write com.apple.finder NewWindowTarget -string "PfLo" && \
defaults write com.apple.finder NewWindowTargetPath -string "file://${HOME}"

# Show Path bar in Finder
defaults write com.apple.finder ShowPathbar -bool true

# Show Status bar in Finder
defaults write com.apple.finder ShowStatusBar -bool true

# Avoid creating .DS_Store files on network volumes
defaults write com.apple.desktopservices DSDontWriteNetworkStores -bool true

# Enable the Develop menu and the Web Inspector in Safari
defaults write com.apple.Safari IncludeInternalDebugMenu -bool true && \
defaults write com.apple.Safari IncludeDevelopMenu -bool true && \
defaults write com.apple.Safari WebKitDeveloperExtrasEnabledPreferenceKey -bool true && \
defaults write com.apple.Safari com.apple.Safari.ContentPageGroupIdentifier.WebKit2DeveloperExtrasEnabled -bool true && \
defaults write NSGlobalDomain WebKitDeveloperExtras -bool true

# Set hostname, local hostname and computername
sudo scutil --set ComputerName "RgoMBP"
sudo scutil --set LocalHostName "RgoMBP"
sudo scutil --set HostName "RgoMBP"

mas install 926036361  # LastPass: Password Manager and Secure Digital Vault
mas install 1072531325 # Roadmap Planner - Strategic Planner, Product Ideas Accounting
mas install 823766827  # OneDrive
mas install 1059655371 # Newton Mail (previously CloudMagic Email)
mas install 766939888  # 1Keyboard
mas install 775631122  # Softmatic QR Perfect
mas install 715768417  # Microsoft Remote Desktop
mas install 409201541  # Pages
mas install 409203825  # Numbers
mas install 413857545  # Divvy - Window Manager  
mas install 523620159  # CleanMyDrive 2: Manage and Clean External Drives
mas install 412448059  # ForkLift - File Manager and FTP/SFTP/WebDAV/Amazon S3 client
mas install 409183694  # Keynote
mas install 403388562  # Transmit 
mas install 445770608  # Go2Shell 
mas install 430255202  # Mactracker 

brew cask install microsoft-office                                                         
brew cask install adobe-reader
brew cask install crashplan
brew cask install flixtools

brew install wifi-password

brew install sha2

brew install the_silver_searcher
$ \ls /Applications

1Keyboard.app
Adobe Acrobat Reader DC.app
Android File Transfer.app
App Store.app
Atom.app
Automator.app
Battery Guardian.app
Caffeine.app
Cakebrew.app
Calculator.app
Calendar.app
Carbon Copy Cloner.app
Chess.app
Citrix Receiver.app
CleanMyDrive 2.app
Contacts.app
CrashPlan.app
DB Browser for SQLite.app
DVD Player.app
Dashboard.app
Deckset Trial.app
Dictionary.app
Disk Drill.app
Disk Inventory X.app
DiskKeeper Advanced Cleaner.app
DiskWave.app
Divvy.app
Docker.app
DrCleaner.app
Dropbox.app
Endurance.app
FaceTime.app
Firefox.app
FirefoxDeveloperEdition.app
FlixTools.app
Font Book.app
ForkLift.app
Franz.app
Game Center.app
Gimp.app
Gisto.app
GitHub Desktop.app
GitUp.app
Go2Shell.app
Google Chrome Canary.app
Google Chrome.app
Google Drive.app
Google Photos Backup.app
GrandPerspective.app
HandBrake.app
Helium.app
Image Capture.app
Inbox by Google.app
Infinit.app
Inkscape.app
Install macOS Sierra.app
Itau.app
JDiskReport.app
Jeeves.app
Keynote.app
Kindle.app
LastPass.app
Launchpad.app
LibreOffice.app
Magican.app
MagicanTools
Mail.app
Maps.app
Messages.app
Microsoft Excel.app
Microsoft OneNote.app
Microsoft Outlook.app
Microsoft PowerPoint.app
Microsoft Remote Desktop.app
Microsoft Word.app
Mission Control.app
Money (with sync).app
Newton.app
Notes.app
Numbers.app
OneDrive.app
OpenEmu.app
PHP Assistant.app
Photo Booth.app
Photos.app
Pomello.app
Popcorn Time CE.app
Popcorn Time Community.app
Postman.app
Preview.app
Programas RFB
ProgramasRFB
QuickTime Player.app
Reminders.app
Remote Desktop - VNC.app
Roadmap Planner.app
Royal TSX.app
SDFormatter.app
SQLiteStudio.app
Safari.app
Santa.app
Sequel Pro.app
Skitch.app
Skype.app
Slack.app
Softmatic QR Perfect.app
SourceTree.app
Stickies.app
Sublime Text.app
SyphonInject.app
System Preferences.app
TaskExplorer.app
TextEdit.app
Thunderbird.app
Time Machine.app
TogglDesktop.app
TorBrowser.app
TotalFinder.app
Transmission.app
Transmit.app
Twitter.app
UnRarX.app
Utilities
VLC.app
VMware Horizon Client.app
Veertu.app
VirtualBox.app
Visual Studio Code.app
XView.app
Xcode.app
gfxCardStatus.app
iBooks.app
iPackr.app
iTerm.app
iTunes.app
smcFanControl.app
tokenadmin.app
$ tree -L 3 -d -I Contents /Applications

/Applications
├── 1Keyboard.app
├── Adobe\ Acrobat\ Reader\ DC.app
├── Android\ File\ Transfer.app
├── App\ Store.app
├── Atom.app
├── Automator.app
├── Battery\ Guardian.app
├── Caffeine.app
├── Cakebrew.app
├── Calculator.app
├── Calendar.app
├── Carbon\ Copy\ Cloner.app
├── Chess.app
├── Citrix\ Receiver.app
├── CleanMyDrive\ 2.app
├── Contacts.app
├── CrashPlan.app
├── DB\ Browser\ for\ SQLite.app
├── DVD\ Player.app
├── Dashboard.app
├── Deckset\ Trial.app
├── Dictionary.app
├── Disk\ Drill.app
├── Disk\ Inventory\ X.app
├── DiskKeeper\ Advanced\ Cleaner.app
├── DiskWave.app
├── Divvy.app
├── Docker.app
├── DrCleaner.app
├── Dropbox.app
├── Endurance.app
├── FaceTime.app
├── Firefox.app
├── FirefoxDeveloperEdition.app
├── FlixTools.app
├── Font\ Book.app
├── ForkLift.app
├── Franz.app
├── Game\ Center.app
├── Gimp.app
├── Gisto.app
├── GitHub\ Desktop.app
├── GitUp.app
├── Go2Shell.app
├── Google\ Chrome\ Canary.app
├── Google\ Chrome.app
├── Google\ Drive.app
├── Google\ Photos\ Backup.app
├── GrandPerspective.app
├── HandBrake.app
├── Helium.app
├── Image\ Capture.app
├── Inbox\ by\ Google.app
├── Infinit.app
├── Inkscape.app
├── Install\ macOS\ Sierra.app
├── Itau.app
├── JDiskReport.app
├── Jeeves.app
├── Keynote.app
├── Kindle.app
├── LastPass.app
├── Launchpad.app
├── LibreOffice.app
├── Magican.app
├── MagicanTools
│   └── Download
├── Mail.app
├── Maps.app
├── Messages.app
├── Microsoft\ Excel.app
├── Microsoft\ OneNote.app
├── Microsoft\ Outlook.app
├── Microsoft\ PowerPoint.app
├── Microsoft\ Remote\ Desktop.app
├── Microsoft\ Word.app
├── Mission\ Control.app
├── Money\ (with\ sync).app
├── Newton.app
├── Notes.app
├── Numbers.app
├── OneDrive.app
├── OpenEmu.app
├── PHP\ Assistant.app
├── Photo\ Booth.app
├── Photos.app
├── Pomello.app
├── Popcorn\ Time\ CE.app
├── Popcorn\ Time\ Community.app
├── Postman.app
├── Preview.app
├── Programas\ RFB
│   └── Receitanet
│       └── Receitanet.app
├── ProgramasRFB
│   └── IRPF2016
│       └── IRPF2016.app
├── QuickTime\ Player.app
├── Reminders.app
├── Remote\ Desktop\ -\ VNC.app
├── Roadmap\ Planner.app
├── Royal\ TSX.app
├── SDFormatter.app
├── SQLiteStudio.app
├── Safari.app
├── Santa.app
├── Sequel\ Pro.app
├── Skitch.app
├── Skype.app
├── Slack.app
├── Softmatic\ QR\ Perfect.app
├── SourceTree.app
├── Stickies.app
├── Sublime\ Text.app
├── SyphonInject.app
├── System\ Preferences.app
├── TaskExplorer.app
├── TextEdit.app
├── Thunderbird.app
├── Time\ Machine.app
├── TogglDesktop.app
├── TorBrowser.app
├── TotalFinder.app
├── Transmission.app
├── Transmit.app
├── Twitter.app
├── UnRarX.app
├── Utilities
│   ├── Activity\ Monitor.app
│   ├── Adobe\ Flash\ Player\ Install\ Manager.app
│   ├── AirPort\ Utility.app
│   ├── Audio\ MIDI\ Setup.app
│   ├── Bluetooth\ File\ Exchange.app
│   ├── Boot\ Camp\ Assistant.app
│   ├── ColorSync\ Utility.app
│   ├── Console.app
│   ├── Digital\ Color\ Meter.app
│   ├── Disk\ Utility.app
│   ├── Grab.app
│   ├── Grapher.app
│   ├── Keychain\ Access.app
│   ├── Migration\ Assistant.app
│   ├── SafeSign\ Uninstaller.app
│   ├── Script\ Editor.app
│   ├── System\ Information.app
│   ├── Terminal.app
│   ├── VoiceOver\ Utility.app
│   └── XQuartz.app
├── VLC.app
├── VMware\ Horizon\ Client.app
├── Veertu.app
├── VirtualBox.app
├── Visual\ Studio\ Code.app
├── XView.app
├── Xcode.app
├── gfxCardStatus.app
├── iBooks.app
├── iPackr.app
├── iTerm.app
├── iTunes.app
├── smcFanControl.app
└── tokenadmin.app
$ brew cask list

anaconda
android-file-transfer
atom
battery-guardian
betterzipql
caffeine
cakebrew
carbon-copy-cloner
disk-drill
disk-inventory-x
diskwave
docker
dropbox
endurance
firefox
firefoxdeveloperedition
flash
franz
gfxcardstatus
ginbox
gisto
github-desktop
gitup
go2shell
google-chrome
google-chrome-canary
google-drive
grandperspective
handbrake
inkscape
itau
iterm2-beta
jadengeller-helium
java
jdiskreport
lastpass
lisanet-gimp
magican
openemu-experimental
paragon-ntfs
pomello
postman
qlcolorcode
qlimagesize
qlmarkdown
qlprettypatch
qlstephen
quickgeojson
quicklook-csv
quicklook-json
sdformatter
sequel-pro
skitch
skype
slack
smcfancontrol
sourcetree
sqlitebrowser
sqlitestudio
sublime-text-dev
suspicious-package
taskexplorer
thunderbird
toggldesktop
torbrowser
totalfinder
transmission
unrarx
vagrant
virtualbox
visual-studio-code
vlc
webpquicklook
xbox360-controller-driver
xquartz-beta
$ brew list

ant
arm
asciinema
autoconf
automake
awscli
bats
bison
bison241
bison264
bison27
boost
brew-pip
caddy
cask-repair
cdiff
cmake
cntlm
composer
cowsay
curl
dcfldd
dlite
docker-completion
fontconfig
freerdp
freetype
fswatch
gcc
gd
gdbm
gettext
ghostscript
gist
glew
gmp
gnutls
go
gource
gradle
graphviz
highlight
hr
htop-osx
httrack
hub
icu4c
isl
jasper
jbig2dec
jpeg
jq
libgcrypt
libgpg-error
libgphoto2
libicns
libmpc
libpng
libtasn1
libtiff
libtool
libusb
libusb-compat
libxmlsec1
little-cms2
lua
lynx
mackup
makedepend
mcrypt
mhash
mitmproxy
mpfr
mysql
ncdu
net-snmp
nettle
node
notify
oath-toolkit
oniguruma
openssl
p7zip
parallel
pcre
php56
php56-intl
php70
php70-intl
php70-xdebug
phplint
pkg-config
pup
python
python3
re2c
readline
sane-backends
sdl2
sdl2_image
sha2
signify-osx
socat
sqlite
stunnel
subversion
terminal-notifier
tree
unison
unixodbc
upall
utf8
watch
webp
wget
x3270
xz
z
zsh-completions
zsh-history-substring-search
zsh-syntax-highlighting
$ brew leaves

ant
arm
asciinema
awscli
bats
bison
homebrew/versions/bison27
brew-pip
caddy
vitorgalvao/tiny-scripts/cask-repair
cdiff
cntlm
homebrew/php/composer
cowsay
curl
dcfldd
dlite
homebrew/completions/docker-completion
homebrew/x11/freerdp
fswatch
gcc
ghostscript
gist
gource
gradle
graphviz
highlight
htop-osx
httrack
jbig2dec
jq
libgphoto2
libicns
lynx
mackup
mcrypt
mitmproxy
mysql
ncdu
node
rogeriopradoj/bin/notify
oath-toolkit
p7zip
parallel
homebrew/php/php56-intl
homebrew/php/php70-intl
homebrew/php/php70-xdebug
homebrew/php/phplint
pup
python
python3
re2c
sane-backends
sha2
signify-osx
socat
stunnel
subversion
terminal-notifier
tree
unison
rogeriopradoj/bin/upall
rogeriopradoj/bin/utf8
watch
wget
homebrew/x11/x3270
z
zsh-completions
zsh-history-substring-search
zsh-syntax-highlighting
$ brew tap

caskroom/cask
caskroom/versions
domt4/autoupdate
homebrew/boneyard
homebrew/completions
homebrew/core
homebrew/php
homebrew/versions
homebrew/x11
rogeriopradoj/bin
vitorgalvao/tiny-scripts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment