Skip to content

Mac specific setup stuff. mostly brew and installing some languages

Notifications You must be signed in to change notification settings

woodrowpearson/macOS-setup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

MacOS Catalina setup.

Includes package mgmt (brew), dotfiles, mac system config changes, installing packages, setting up git with pgp. Last is recommended apps I use on my mac. You can also visit my always growing wiki page of tools and literature on just about anything tech. woodrow.wiki

Setup of a new mac, including all dotfiles and dev related tools. Also a big list of mac apps I have installed and what they do.

Step 0: Install Xcode from the app store.

Step 1: Install Mac packages and deps

Install brew

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

Install deps

git clone https://github.com/woodrowpearson/macOS-setup.git
cd macOS-setup/

# edit Brewfile to remove/add things then run command:
brew bundle

Step 2: Install dotfiles

git clone https://github.com/woodrowpearson/dotfiles.git ~/.dotfiles
cd ~/.dotfiles
./script/bootstrap
zsh # reload zsh

Step 3: Change MacOS system configurations

Step 4: Setup tools, security, & identity for development

Generate SSH Key

Create a new SSH key or copy an existing one into ~/.ssh.

ssh-keygen -t rsa -b 4096 -C "[email protected]"

Set permissions

$ chmod 0600 ~/.ssh/id_rsa

Make sure the permissions are set correctly for the key. .rw-------

5. Setup GPG signing

We need to create the gpg conf file

touch ~/.gnupg/gpg-agent.conf

Create your gpg key & verify it.

gpg --full-generate-key

gpg --list-keys

Setup pinentry:

$ brew install pinentry-mac
$ echo "pinentry-program /usr/local/bin/pinentry-mac" >> ~/.gnupg/gpg-agent.conf
$ killall gpg-agent

Import the key:

$ export GPG_TTY=$(tty)
$ keybase pgp export -q yourkeyHERE | gpg --import
$ keybase pgp export -q yourkeyHERE --secret | gpg --import --allow-secret-key-import

If you don't know your key gpg --list-keys

Setup git:

$ git config --global gpg.program $(which gpg)
$ git config --global user.signingkey yourkeyHERE
$ git config --global commit.gpgsign true

Test it:

$ mkdir -p /tmp/test
$ cd $_
$ git init
$ git commit --allow-empty -m 'fooo barrr'
$ git log --show-signature

That's it!

6. Reboot

sudo reboot

MacOS Apps that I love. Some of these were installed when we ran Brew update.

  • iTerm: a better terminal emulator; Currently have been using prezto but will be moving over to antibody as it seems to growing choice among zsh users.
  • Alfred: Alfred is a powerful launcher that you can program to show anything you want. Search local and web at the same time for example
  • 2Do - Flexible task manager
  • Typinator - Text expansions
  • PDF Expert - PDF reader/editor
  • Clockify - Free app that tracks your time spent. useful for personal or professional tracking (freelance, contract)
  • Annotate - Create and annotate screenshots
  • Little Snitch - Control incoming/outgoing network traffic
  • qBittorrent - Opensource alternative to utorrent
  • Screen - Fast, free, screen sharing with multiple user control, drawing, and recording.
  • Mind Node - Interactive Mind Mapping. Visually expand upon ideas you have
  • Dash - API Documentation Browser
  • Hazel - Automated File Organization
  • GPG Suite - Encrypt, decrypt, sign and verify files or messages.
  • Pycharm IDE - Great IDE if vim isn't cutting it.

About

Mac specific setup stuff. mostly brew and installing some languages

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published