{"id":17271985,"url":"https://github.com/pndurette/mac-setup","last_synced_at":"2025-04-14T08:31:57.905Z","repository":{"id":76741319,"uuid":"155101285","full_name":"pndurette/mac-setup","owner":"pndurette","description":"My macOS setup / dotfiles / yadm","archived":false,"fork":false,"pushed_at":"2024-09-02T17:16:23.000Z","size":1901,"stargazers_count":13,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-10T08:11:18.275Z","etag":null,"topics":["brewfile","dev-setup","dotfiles","yadm","zsh"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pndurette.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}},"created_at":"2018-10-28T18:17:42.000Z","updated_at":"2024-12-30T15:06:31.000Z","dependencies_parsed_at":null,"dependency_job_id":"a01064c7-6f89-410c-ab05-1a83a4d0dfdd","html_url":"https://github.com/pndurette/mac-setup","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pndurette%2Fmac-setup","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pndurette%2Fmac-setup/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pndurette%2Fmac-setup/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pndurette%2Fmac-setup/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pndurette","download_url":"https://codeload.github.com/pndurette/mac-setup/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248845906,"owners_count":21170867,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["brewfile","dev-setup","dotfiles","yadm","zsh"],"created_at":"2024-10-15T08:47:30.513Z","updated_at":"2025-04-14T08:31:57.867Z","avatar_url":"https://github.com/pndurette.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# macOS setup\n\n\u003e  My macOS setup from scratch using [yadm](https://yadm.io).\n\u003e `GNU` utils, dev setup, app, configs \u0026 Mac App Store installs.\n\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n\n## Pre-setup\n\n### Install `homebrew`\n\n```bash\n/bin/bash -c \"$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)\"\n\n# Add brew to the path for this session\neval \"$(/opt/homebrew/bin/brew shellenv)\"\n```\n\n### Install `yadm`\n\n```bash\nbrew install yadm\n```\n\n### Log into the Mac App Store\n\n(for `mas`) via `App Store \u003e Preferences \u003e Sign in`\n\n## Setup\n\n### Clone and bootstrap\n\n```bash\nexport BOOTSTRAP_LOCALAPPS=1 # To install Applications casks under ~/Applications\nexport BOOTSTRAP_PERSO=1     # To install non-work Applications\nyadm clone https://github.com/pndurette/mac-setup.git --bootstrap # https!\n```\n\n**NB:** Bootstraping updates the remote url to ssh, so an ssh key will have to be configured after this (see below).\n\n**NB:** There might be some need to enter the sudo password.\n\n**NB:** Mac App Store installs will ask for a login.\n\n## Done!\n\n----\n\n## Extra\n\n### Add ssh key\n\nConfigure (new or existing) [ssh key and add it to GitHub](https://help.github.com/articles/connecting-to-github-with-ssh/), then [add key to ssh-agent and `~/.ssh/config`](https://help.github.com/articles/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent/#adding-your-ssh-key-to-the-ssh-agent). Then test:\n\n```\nssh -T git@github.com\n```\n\n### Cheat sheet\n\n```bash\n# yadm wraps git, e.g.:\nyadm status\nyadm add \u003cfile\u003e\nyadm commit\nyadm push\n# etc\n\n# List files under yadm control:\nyadm list -a\n```\n\nSee: https://yadm.io/docs/common_commands\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpndurette%2Fmac-setup","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpndurette%2Fmac-setup","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpndurette%2Fmac-setup/lists"}