/setup

πŸ‘©β€πŸ’»Notes and scripts for setting up a new macOS dev environment efficiently

Primary LanguageShellMIT LicenseMIT

setup

Notes and scripts for setting up a new macOS dev environment (Follow at your own risk / benefit)

πŸ’‘ I also have guides for Linux and Windows!

Steps:

🍻 Install Homebrew

/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
  • Installs Xcode command line tools
  • Installs Git!
  • Gives access to the brew command.

Install Git Large File Storage

I like to immediately install this, otherwise I forget and then things go haywire later when I pull down a repo that needs lfs.

brew install git-lfs

πŸ’€ Install Z-Shell and Oh My Zsh

  • Zsh is an alternative terminal shell. OMZsh comes with lots of themes.
  • Zsh should be installed first, see installing zsh, or brew install zsh
Install Oh My Zsh:
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"

πŸ‘©β€πŸ’» Install development software

brew cask install iterm2 vscodium mamp codekit tableplus sourcetree insomnia docker && \
brew cask install homebrew/cask-versions/firefox-developer-edition

Micro editor (nicer than Nano, less hectic than vim)

brew install micro

πŸ’» Install preferred VS Code extensions

Install the Settings Sync extension, then connect it to the appropriate Github Gist.

(I'm opting for this extension over the new built-in sync settings for privacy reasons)

🎨 Install design apps

brew cask install sketch nucleo imageoptim

Install Google fonts

w/Thanks to qrpike's Web Font Load

curl https://raw.githubusercontent.com/qrpike/Web-Font-Load/master/install.sh | bash

πŸ›‘ Install other misc. software

brew cask install 1password authy nordvpn alfred slack notion carbon-copy-cloner

🎹 Install music apps (optional)

brew cask install ableton-live-suite loopback

Manual step:

Install Komplete Audio 6 Drivers *

*This driver is not necessary with Catalina 10.15.2 and will error. Leaving here for convenience / reminder.

πŸ“Ό Install multimedia apps (optional)

brew cask install kap handbrake

## ffmpeg CLI tool
brew install ffmpeg --force &&
brew link ffmpeg

πŸ’š Install Node Version Manager

Installs NVM (switch between multiple versions of Node.JS on the same system)

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

Installs Node.JS and relative NPM version.

nvm install node # "node" is an alias for the latest version

Install global node packages

Install Netlify CLI

npm install netlify-cli -g

netlify login

✏️ Install Hugo for blogging

brew install hugo

(requires Git LFS)

cd project-name

netlify link

netlify lm:setup

Install Heroku CLI

brew tap heroku/brew && brew install heroku

heroku autocomplete --refresh-cache

heroku autocomplete

Verify with heroku --version.

Login with heroku login (press any key to open a browser window for authentication)

Install Google Cloud SDK

brew cask install google-cloud-sdk (untested)

Will require auth through Google. Must already have an account.

Install Speedtest CLI

brew install speedtest-cli

🧼 Clean-up

Add spaces to the dock:

defaults write com.apple.dock persistent-apps -array-add '{"tile-type"="spacer-tile";}'

killall Dock

Visit the App Store for