{"id":27442386,"url":"https://github.com/drpsychick/macdev","last_synced_at":"2026-03-01T20:32:33.407Z","repository":{"id":39899345,"uuid":"206613619","full_name":"DrPsychick/macdev","owner":"DrPsychick","description":"Setup macOS development environment with ease (install packages, setup environment, ...)","archived":false,"fork":false,"pushed_at":"2024-12-25T20:16:03.000Z","size":133,"stargazers_count":16,"open_issues_count":4,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-14T00:27:55.947Z","etag":null,"topics":["ansible","automation","developer-tools","homebrew","macos","osx"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/DrPsychick.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2019-09-05T16:50:36.000Z","updated_at":"2025-04-09T10:14:41.000Z","dependencies_parsed_at":"2024-10-27T13:21:45.842Z","dependency_job_id":"ddd22d2b-5733-44db-a9ee-40a89bf32ecc","html_url":"https://github.com/DrPsychick/macdev","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/DrPsychick/macdev","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DrPsychick%2Fmacdev","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DrPsychick%2Fmacdev/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DrPsychick%2Fmacdev/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DrPsychick%2Fmacdev/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DrPsychick","download_url":"https://codeload.github.com/DrPsychick/macdev/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DrPsychick%2Fmacdev/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29983168,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-01T16:35:47.903Z","status":"ssl_error","status_checked_at":"2026-03-01T16:35:44.899Z","response_time":124,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ansible","automation","developer-tools","homebrew","macos","osx"],"created_at":"2025-04-15T00:27:14.588Z","updated_at":"2026-03-01T20:32:33.378Z","avatar_url":"https://github.com/DrPsychick.png","language":"Shell","funding_links":["https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick\u0026hosted_button_id=FTXDN7LCDWUEA\u0026source=url","https://github.com/sponsors/DrPsychick"],"categories":[],"sub_categories":[],"readme":"[![Paypal](https://img.shields.io/badge/donate-paypal-00457c.svg?logo=paypal)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick\u0026hosted_button_id=FTXDN7LCDWUEA\u0026source=url)\n[![GitHub Sponsor](https://img.shields.io/badge/github-sponsor-blue?logo=github)](https://github.com/sponsors/DrPsychick)\n\n# purpose\nI hate it when I need to setup a computer from scratch, but from time to time I need to do it. To simplify the process AND to share a similar local environment with all colleagues and friends (which makes communication and collaboration far easier), I created this simple ansible playbook.\n\nIt is **not** meant to be used for linux or windows environments and **not** meant to support setting up a remote host. It's just a tiny helper to automate installing all the tools and software you expect on your local machine.\n\n**Much simpler than** https://github.com/geerlingguy/mac-dev-playbook, but obviously not as sophisticated.\n\n## features\n* system configuration (`sudo defaults write XXX`) - hostname, \n* user configuration (`defaults write XXX`) - dock behaviour, hot corners, finder defaults, ...\n* setup the environment (.profile/.zshrc/aliases/...)\n* install brew / pip3 packages\n* download and install individual apps (zip or dmg)\n* optionally use a URL to download the `localhost.yml` configuration\n\n# usage\n\n## install it\n* open a terminal\n* clone the repository `git clone https://github.com/DrPsychick/macdev.git`\n* run `./install.sh` interactively in the shell (requires entering password and/or installing XCode)\n\n```shell\ncd git # or wherever you keep stuff like this\ngit clone https://github.com/DrPsychick/macdev.git\ncd macdev\n./install.sh\n```\n\n## configure it\n* use `host_vars/localhost-example.yml` as a base and en-/disable roles, add/remove packages to install via pip or homebrew ...\n* save it as `host_vars/localhost.yml` to enable it\n* OR (see below): provide a URL to download your config from: `-e config_url=http://raw.githubusercontent.com/DrPsychick/macdev/master/host_vars/localhost-example.yml`\n\n```shell\ncp host_vars/localhost-example.yml host_vars/localhost.yml\nopen -e host_vars/localhost.yml\n# replace \"YOUR_MACDEV_DIRECTORY\" with the directory where the cloned repository resides\n```\n\n## run it\n```shell\nansible-playbook macdev.yml\n# OR with config URL (must re-run after download)\nansible-playbook macdev.yml -e config_url=http://raw.githubusercontent.com/DrPsychick/macdev/master/host_vars/localhost-example.yml\n```\n\n## maintain it\nYou want to install a new package? Edit your `host_vars/localhost.yml`, then simply run your alias `updatemac` (see `host_vars/localhost-example.yml`) or the above command.\n\n## troubleshooting\n* if you get this (after updating brew): `/usr/local/bin/ansible-playbook: bad interpreter: /usr/local/opt/python/bin/python3.7: no such file or directory`\n  * then run `pip3 install -U ansible` and try again\n* brew upgrade fails: \n  * if brew upgrade sometimes requires user interaction or fails, simply run it manually once: `brew upgrade`\n\n# references\n### setup ENV for mac and ansible:\nsee https://gist.github.com/DrPsychick/847ea32c876fda2337e79096a8a23176\n\n# inspired by\n* https://github.com/roberth1988/osx-bootstrap\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrpsychick%2Fmacdev","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdrpsychick%2Fmacdev","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrpsychick%2Fmacdev/lists"}