Below are our suggestions for how to set up your laptop for optimal portability. This setup method is designed to streamline the process for starting with a new machine or getting a fresh start with your current machine.
Special thanks to @Naoki Hisamoto for his work in documenting the bulk of this process.
Set Up section will walk you through getting your phresh machine up and running as quickly as possible.
Application Installation section will walk you through installing your applications.
Tasty Treats section will tell you some of our Liferay team members' top picks for applications and extensions.
Wipe your hard drive clean and install your apps quickly.
Preparation section will prevent you from losing important files, documents, and registration keys upon reinstallation.
Wipe + Reinstall section will walk you through installing a phresh copy of OSX.
The Set Up section will walk you through getting your phresh machine up and running as quickly as possible. We will set up the computer with Homebrew, Node, NPM, Gulp, Homebrew Cask, Git, and Github. This will prepare your computer for future processes such as installing applications quickly.
Steps 1-3 are necessary for onboarding — 4&5 are optional if they're interesting to you.
Homebrew is a great tool for web developers. First, it makes removing Node very easy (otherwise you have to crawl through your file system and delete a bunch of files manually). Second, it greatly simplfies the installation of other useful packages like Git, Ruby, or the very useful wget utility.
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
Homebrew Documentation Description from Treehouse blog
Note: you will need to set up a GitHub account before doing this step.
brew install git
into your terminal and hitting 'enter'.Getting Started - Git Basics > Github Guides
Description from Github
NPM is a package manager for JavaScript and the world's largest software registry. Discover packages of reusable code — and assemble them in powerful new ways.
brew install node
into a Terminal prompt.npm install npm@latest -g
into a Terminal prompt.node -v; npm -v
. You should see two numbers print out which are the versions for node and npm respectively.npmjs Documentation Description from npmjs
Homebrew-Cask extends Homebrew and brings its elegance, simplicity, and speed to macOS applications and large binaries alike.
brew tap caskroom/cask
into a Terminal prompt.Homebrew Cask Documentation Description from Homebrew Cask
Caskroom-fonts is a Homebrew Tap which allows you to use the same friendly Homebrew-style CLI workflow for the administration of binary font files on your Mac.
brew tap caskroom/fonts
into a Terminal prompt.Caskroom Fonts Documentation Description from Caskroom Fonts
The Application Installation section will walk you through installing your applications. Using Homebrew Cask, you can download and install the necessary applications, and clean the download files with just a few lines of code.
Homebrew-Cask extends Homebrew and brings its elegance, simplicity, and speed to macOS applications and large binaries alike.
brew cask install [application]
into a Terminal prompt. This will install the selected application.brew cask install [application][space][application]
into a Terminal prompt to install multiple applications.brew cask cleanup
into a Terminal prompt to delete all download files.brew cask upgrade
into a Terminal prompt to upgrade all outdated casks.To install all of the following applications with a single line of code:
brew cask install google-chrome firefox slack skype figma sketch craftmanager adobe-creative-cloud sublime-text hyper
into a Terminal prompt.brew cask install font-[font-name]
into a Terminal promptbrew cask install font-source-sans-pro
into a Terminal prompt.Web Browsers:
google-chrome
firefox
Communication Tools:
slack
Design Tools:
figma
adobe-creative-cloud
Text Editors:
visual-studio-code
sublime-text
Homebrew Cask Documentation Description from Homebrew Cask
The Tasty Treats section will tell you some of our Liferay team members' top picks for applications and extensions.
To install all of the following applications with a single line of code enter:
brew cask install clipy imageoptim zsh zsh-autosuggestions zsh-syntax-highlighting visual-studio-code
into a Terminal prompt.
brew cask install google-chrome firefox slack skype figma sketch google-drive-file-stream adobe-creative-cloud sublime-text flux bettertouchtool opera visual-studio-code vivaldi clipy dropbox imageoptim brave
brew cask install font-source-sans-pro font-blokk-neue font-playfair-display-sc font-playfair-display
iterm2
color-oracle
To install all of the following applications with a single line of code enter
brew cask install iterm2
into a Terminal prompt.
notion
caffeine
karabiner-elements
spotify
To install all of the following applications with a single line of code enter
brew cask install notion caffeine karabiner-elements spotify
into a Terminal prompt.
To install all of the following applications with a single line of code enter:
brew cask install flux evernote
into a Terminal prompt.
yabai
skhd
gitkraken
To install all of the following applications with a few lines of code enter:
brew tap crisidev/homebrew-chunkwmbrew install chunkwm koekeishiya/formulae/skhdbrew cask install gitkraken
into a Terminal prompt.
The Preparation section will prevent you from losing important files, documents, and application keys upon reinstalling OSX. The hard drive is completely erased during this process and taking the time to back up files and deauthorizing applications will ensure you have zero regrets after your phresh install.
A fresh install of OS X will wipe any files, programs, and documents from your hard drive. Whether you use Time Machine, the Cloud, or an external hard drive, be sure to have a back up of anything you will need on your phresh machine. If you are using the cloud, make sure all files are finished syncing as well.
How To Clean Install MacOS High Sierra
Information from OSXDaily
Your computer will be viewed as a new machine after the phresh install, which means that you will want to deauthorize any applications that required a registration key. Otherwise, the same key will not work when registering a product after the wipe and you might have to jump through hoops to get your product license back.
Make Your Mac Feel Like New Again With a Fresh Install of OSX
Information from Field Guide—Gizmodo
The Wipe + Reinstall section will walk you through installing a phresh copy of OSX. When you are ready, you'll erase your hard drive and install the latest version of OSX. Once you are at this point, double-check that all necessary files, documents, pictures, and videos are backed up and all applications are deauthorized (as mentioned in the previous steps) because there is no going back after this step.
You will be erasing your hard drive at this point. Once you have completed this step, your hard drive will be reformatted.
Restart
your computer and hold down ⌘ + R
as soon as the reboot starts. If successful, you will be met by the OSX Utilities screen.Make Your Mac Feel Like New Again With a Fresh Install of OSX
Information from Field Guide—Gizmodo
How to Clean Install MacOS high Sierra
Information from OSXDaily
Disk Utility Help—Erase a volume
Information from Apple Support
Now that you have a reformatted hard drive, you will be installing a phresh copy of the latest OSX onto your hard drive (Unless you have the installation files for a different OS version on a flash drive).
How To Clean Install MacOS High Sierra
Information from OSXDaily