Skip to content

Instantly share code, notes, and snippets.

@samdoidge
Last active April 28, 2024 22:53
Show Gist options
  • Save samdoidge/ae544b8eb9ee769dc037f13429c97977 to your computer and use it in GitHub Desktop.
Save samdoidge/ae544b8eb9ee769dc037f13429c97977 to your computer and use it in GitHub Desktop.

Mac Setup Guide

Set up your Mac with essential development tools quickly.

Quick Links

Setup Steps

iTerm2

  1. Download from iTerm2 and install.

Oh My Zsh

In iTerm2, execute:

sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"

Visual Studio Code

  1. Download from Visual Studio Code and install.
  2. Launch VS Code.
  3. Command Palette (Cmd+Shift+P) > Shell Command: Install 'code' command in PATH.

CodeSnap Extension

In VS Code, install CodeSnap:

  1. Extensions view (Cmd+Shift+X).
  2. Search for "CodeSnap".
  3. Click Install.

SSH Keys Setup

  • Download your SSH keys, usually stored in Dropbox or a secure location.

  • Place them in the ~/.ssh directory.

  • Set the correct permissions with the following commands: chmod 700 ~/.ssh chmod 644 ~/.ssh/id_rsa.pub chmod 600 ~/.ssh/id_rsa chmod 600 ~/.ssh/config

  • If necessary, delete the existing known_hosts file to prevent SSH issues: rm ~/.ssh/known_hosts

Configure Git

  • Set your Git identity with: git config --global user.name "Your Name" git config --global user.email "youremail@example.com"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment