| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Ansible-based automation for setting up a macOS development environment. This repository has been converted from bash scripts to Ansible playbooks for better maintainability and idempotency.
After starting up a new or reformatted Mac, you may want to transfer your SSH keys and API keys to the new machine. While transferring a zipped ~/.ssh directory via AirDrop is acceptable, creating new SSH keys and adding them to GitHub and cloud services is the preferred method.
Install Xcode Command Line Tools (includes make and git):
xcode-select --installThis opens a dialog to install the command line tools.
The easiest way to set up your environment:
make install # Installs Homebrew and Ansible
make run # Runs Ansible playbooksOptional:
make gitssh # Creates new SSH keys and adds them to GitHub
make gitgpg # Creates new GPG keys and adds them to GitHub
make extensions # Downloads and extracts browser extensionsIf you prefer to run commands manually:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"brew install ansibleansible-playbook ansible/main.yml -i "localhost,"
ansible-playbook ansible/macos.yml -i "localhost,"git config --global user.name "Your Name"
git config --global user.email "your.email@example.com"Or use the Makefile command (requires .env file with GITHUB_USERNAME and GITHUB_EMAIL):
Or use the Makefile command:
make gitsshAfter running the Ansible playbooks, complete these manual steps:
Run make help to see all available commands, or refer to the list below:
help list make commands
install install homebrew and apps
setup-homebrew install homebrew
setup-apps install apps
check run playbooks in check mode
run run playbooks normally
extensions-download download browser extension CRX files
extensions-extract extract CRX files to unpacked extensions
extensions download and extract browser extensions
cursor-export-extensions [cursor] export extensions
cursor-import-extensions [cursor] import extensions
cursor-show-keybindings [cursor] show keybindings
cursor-export-keybindings [cursor] export keybindings
cursor-import-keybindings [cursor] import keybindings
cursor [cursor] run import commands
gitsetup [git] setup git global configs
gitssh [git] setup git ssh
gitgpg [git] setup git gpg| Back | FazBrowse Home | New Git URL |