Skip to content

ninegene/bootstrap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bootstrap

Config files and install scripts for Digital Ocean, AWS, Ubuntu, macOS etc.

macOS bootstrap

Tested on macOS Catalina 10.15.7

$ cd
$ git clone [email protected]:ninegene/bootstrap.git
$ cd bootstrap/macOS
$ ./install-xcode-command-line-tools.sh
$ ./install-homebrew.sh
$ ./install-gnu-packages.sh

$ brew cleanup -s

Install Desktop Apps

macOS SSH key Setup

Generating a new SSH key

Based on: https://docs.github.com/en/free-pro-team@latest/github/authenticating-to-github/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent

$ ssh-keygen -t ed25519 -C '[email protected]'

Use ssh-agent

$ vi ~/.ssh/config

Add the following to ~/.ssh/config

Host *
  AddKeysToAgent yes
  UseKeychain yes
  IdentityFile ~/.ssh/id_ed25519
$ ssh-add -K ~/.ssh/id_ed25519

Add SSH public key to GitHub

$ pbcopy < ~/.ssh/id_ed25519.pub

Add SSH key to GitHub