/mac-config-shell

A single "bash" script which configures machine on macOS based on architecture. Compatible with Apple Silicon

Primary LanguageShellApache License 2.0Apache-2.0

mac-config-shell

A "shell" script which configures machine on macOS Compatible with Apple Silicon, supports only Monterey 12.4+ for now Support for Ventura, Sonoma or later will be added later

Note

This configuration was made for remote employee who work always from home and has it's secure home for it. No one touches to my machine I do not guarantee nor support for your any damage & data loss, do & run it at your own risk

Looking similar for Windows? Look at here

Used projects

Guide

If you want guide (optional), there exists a file. See here

Pre-installation

  • Give "Full-disk access" for "Terminal" (guide)
  • Import a "dotfiles" .terminal theme into "Terminal"
  • Login into "macOS App Store" and download any app (guide)

Installation

# go-to your desired downloads folder
git clone https://github.com/dalisoft/mac-config-shell.git
cd mac-config-shell
sh install.sh
> "YOUR_PASSWORD"

SSH Permissions

This could happen if you're copying ~/.ssh folder from elsewhere and there are fix

chown -R $USER ~/.ssh
find ~/.ssh -type d | xargs -L1 sudo chmod 700
find ~/.ssh -type f | xargs -L1 sudo chmod 600

GNUPG Permissions

This could happen if you're copying ~/.gnupg folder from elsewhere and there are fix

chown -R $USER ~/.gnupg
find ~/.gnupg -type d | xargs -L1 sudo chmod 700
find ~/.gnupg -type f | xargs -L1 sudo chmod 600

To-Do

Bug Name Status
Fix disk check condition ✅ Fixed
Add temporarily disable sleep script ✅ Fixed
Add disable font anti-alias ✅ Fixed
Hide password enter ✅ Fixed
Tap to Click Enable, Scroll, Zoom ✅ Fixed
SSH Passwordless ✅ Fixed
Enable Firewall ✅ Fixed
Open & Sign In MAS when run script ✅ Fixed
Auto-allow older versions via MAS ❌ Won't Fix
Enable remote enable (SSH) 📝 See guides
Add Dock enlarge? 📝 See guides
Disable personalized ads 📝 See guides
Calculate all sizes options? 📝 See guides
Show Downloads, Movies, Music, Pictures, User? 📝 See guides
Recent Items — 0 📝 See guides
Uncheck “Close windows when quitting an app” 📝 See guides
Fix SSH folder permissions 📝 See above
Photos iCloud Enable 🤔 Out-of-Box

Old histories

License

Apache-2.0 License