{"repo":"geerlingguy/mac-dev-playbook","free":true,"listed":false,"github":"https://github.com/geerlingguy/mac-dev-playbook","clone":"git clone https://github.com/geerlingguy/mac-dev-playbook.git","description":"Mac setup and configuration via Ansible.","language":"Shell","stars":7028,"topics":["mac","macos","setup","developer","homebrew","automation","ansible","playbook"],"license":null,"category":"workflow-automation","readme_excerpt":"Mac Development Ansible Playbook [![CI][badge-gh-actions]][link-gh-actions] This playbook installs and configures most of the software I use on my Mac for web and software development. Some things in macOS are slightly difficult to automate, so I still have a few manual installation steps, but at least it's all documented here. Installation 1. Ensure Apple's command line tools are installed ( xcode-select --install to launch the installer). 2. Install Ansible: 1. Run the following command to add Python 3 to your $PATH: export PATH=\"$HOME/Library/Python/3.9/bin:/opt/homebrew/bin:$PATH\" 2. Upgrade Pip: sudo pip3 install --upgrade pip 3. Install Ansible: pip3 install ansible 3. Clone or download this repository to your local drive. 4. Run ansible-galaxy install -r requirements.yml inside this directory to install required Ansible roles. 5. Run ansible-playbook main.yml --ask-become-pass inside this directory. Enter your macOS account password when prompted for the 'BECOME' password. Note: If some Homebrew commands fail, you might need to agree to Xcode's license or fix some other Brew issue. Run brew doctor to see if this is the case. Use with a remote Mac You can use this playbook to manage other Macs as well; the playbook doesn't even need to be run from a Mac at all! If you want to manage a remote Mac, either another Mac on your network, or a hosted Mac like the ones from MacStadium, you just need to make sure you can connect to it with SSH: 1. (On the Mac you want to connect","default_branch":null,"files":null,"tree":[],"storefront":"/r/geerlingguy","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/geerlingguy/mac-dev-playbook/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}