Skip to content

Latest commit

 

History

History
140 lines (111 loc) · 6.36 KB

setup-macos.md

File metadata and controls

140 lines (111 loc) · 6.36 KB

Setup macOS

Table of Contents

  1. Xcode
  2. dotfiles
  3. macOS defaults
  4. Homebrew
  5. Languages
  6. Applications
  7. Fonts

1. Xcode

  • Install Xcode from App Store
  • Read Xcode license and agree
    • sudo xcodebuild -license
    • agree

Note: I can use git command when installed Xcode

2. dotfiles

  • Generate ssh key and ssh config for GitHub
    • ssh-keygen -t rsa -b 4096 -f ~/.ssh/id_rsa -C "" -N ""
    • pbcopy < ~/.ssh/id_rsa.pub
    • echo -e "Host github.com\n\tHostName github.com\n\tIdentityFile ~/.ssh/id_rsa\n\tUser git" > ~/.ssh/config
  • Register public key to GitHub
  • Verify authentication from GitHub
    • ssh -T github.com
    • Hi p-chan! You've successfully authenticated, but GitHub does not provide shell access.
  • Clone dotfiles repository
    • git clone git@github.com:p-chan/dotfiles.git ~/src/github.com/p-chan/dotfiles
  • Delete temporary .ssh directory
    • rm -rf ~/.ssh
  • Link dotfiles to home directory
    • cd ~/src/github.com/p-chan/dotfiles
    • sh link.sh

3. macOS defaults

  • Setup System Preferences
    • sh .macos/finder/settings.sh
  • Setup Finder settings
    • sh .macos/system-preferences/settings.sh
  • Reboot

4. Homebrew

  • Install Homebrew
    • /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
  • Install Formulas (Use Brewfile)
    • brew bundle

5. Languages

Node.js

  • Install Node.js
    • nodenv install x.x.x
    • nodenv global x.x.x
  • Check Node.js and npm version
    • node -v
    • npm -v

Ruby

  • Install Ruby
    • rbenv install x.x.x
    • rbenv global x.x.x
  • Check Ruby and gem version
    • ruby -v
    • gem -v

6. Applications

  • From
    • 🍺: Homebrew
    • 🍎: Mac App Store
    • 👋: Manually
Category Name From Note
Books Amazon Kindle 🍎
Business Slack 🍺
Zoom 🍺
Developer Tools Android Studio 🍺
Cyberduck 🍺
Docker Desktop 🍺 Document
Hyper 🍺
ImageOptim 🍺
Insomnia 🍺
Postico 🍺
Sequel Ace 🍺
VSCode 🍺 Document
Xcode 🍎
Graphics & Design Adobe Creative Cloud 🍺
Figma 🍺
Music Spotify 🍺
News NewNewsWire 🍺
Productivity 1Password 🍺 TODO: Add document
Fantastical 🍺 TODO: Add document
Mimestream 🍺
Things 🍎 Document
Utilities AppCleaner 🍺
Google Chrome 🍺
Google Drive 🍺
Google Japanese Input 🍺 TODO: Add document
iStat Menus 🍺 Document
Karabiner-Elements 🍺 Settings
Logicool Options+ 🍺 Document
One Drive 🍺
Raycasts 🍺 Document
Yamaha Steinberg USB Controll Panel 👋
Yamaha ZG Controller 👋
Social Networking Discord 🍺

Note: Categories are based on the App Store

7. Fonts


Screenshots

Dock

TODO: Add screenshot

Launchpad

TODO: Add screenshot