TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: How do you manage your macOS settings / config for dev?

2 pointsby hamburglar1almost 4 years ago
If you have multiple macs for various jobs &#x2F; personal &#x2F; old ones. How do you keep the settings &#x2F; environments in sync? Are there any tools to help with this?<p>I have a few basics that I want on everything: - mouse and keyboard settings - magnet window manager with hot keys - standard git + bash alias &#x2F; configurations - custom tool bar - pinned&#x2F;hidden applications<p>Right now I just set everything up the same way and manage changes across all of them. For the git&#x2F;bash stuff I have a personal github repo that I can pull -&gt; run to reset.<p>Is there a way to automate this? I can&#x27;t really configure a full-fledge MDM given I don&#x27;t own some of these.<p>Would like to hear if anyway has any similar problems &#x2F; solutions

2 comments

LukeBMMalmost 4 years ago
There&#x27;s a fair bit you can do to set config with scripting. I&#x27;ve only done this for initial setup (new machines at a small firm), but you may be able to find a good chunk of what you need and update&#x2F;run it as often as you&#x27;d like.<p><a href="https:&#x2F;&#x2F;github.com&#x2F;mathiasbynens&#x2F;dotfiles&#x2F;blob&#x2F;master&#x2F;.macos" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;mathiasbynens&#x2F;dotfiles&#x2F;blob&#x2F;master&#x2F;.macos</a>
daviddever23boxalmost 4 years ago
It&#x27;s a perfect opportunity to brush up on your {scripting language of choice} skills, though there are some pitfalls on macOS (e.g., not being able to set some preferences until another preference has been set).<p>Meta, I treat my devices like containers; assume that everything is ephemeral, and regenerate the environment on a frequent basis. Old stuff collects in iCloud as an archive, though anything live must be source-controlled (GitHub, Bitbucket et al).<p>By the way, as this unfortunately has to be said, credentials are NOT stored in source control. E-mail signatures and response tablets ARE.<p>As for system-wide backups, I don&#x27;t do them (said the object storage guy); they&#x27;re far too precious an approach to storage that ultimately should be better focused (live &#x2F; archive &#x2F; ephemeral). That said, the overlay approach that macOS takes should be more conducive to layered state, for those that DO backup.