janduldhardt / mac-setup

My macOS setup / dotfiles / yadm

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

macOS setup

My macOS setup from scratch using yadm. GNU utils, dev setup, app, configs & Mac App Store installs.

License: MIT

Pre-setup

Install homebrew

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

Install yadm

brew install yadm

Setup

Clone and bootstrap

yadm clone https://github.com/pndurette/mac-setup.git --bootstrap # https!

NB: Bootstraping updates the remote url to ssh, so an ssh key will have to be configured after this (see below).

NB: There might be some need to enter the sudo password.

NB: Mac App Store installs will ask for a login.

Done!


Extra

Add ssh key

Configure (new or existing) ssh key and add it to GitHub, then add key to ssh-agent and ~/.ssh/config. Then test:

ssh -T git@github.com

Cheat sheet

# yadm wraps git, e.g.:
yadm status
yadm add <file>
yadm commit
yadm push
# etc

# List files under yadm control:
yadm list -a

See: https://yadm.io/docs/common_commands

About

My macOS setup / dotfiles / yadm

License:MIT License


Languages

Language:Vim Script 65.9%Language:Python 19.1%Language:Shell 10.8%Language:Perl 4.1%