Skip to content

oncode/mac-setup

Repository files navigation

Mac Setup

My personal Mac backup/installation/restore/update process for a clean Mac installation.

Backup Data from current Mac (if possible)

Run following script to create backup.zip inside the backup folder:

source "$BASH_STUFF/mac-setup/backup/create.sh"

Contents

  • SQL dump
  • SSH keys
  • config data from important apps
  • list with installed apps
  • list with installed vs code exensions

Install the Magic

# switch default terminal to bash
chsh -s /bin/bash
# this will prompt xcode dev tools installation (confirm)
git -v
# create bash profile
touch ~/.bash_profile
# configure google drive as backup directory
echo export BACKUP=~/My\\ Drive/Privat/Software/Backup >> ~/.bash_profile
# configure path to bash stuff
echo export BASH_STUFF=~/.bash_stuff >> ~/.bash_profile
# read .bash_profile changes
source ~/.bash_profile
# create the bash stuff folder
mkdir "$BASH_STUFF" && cd "$BASH_STUFF"
# clone this repo into bash stuff folder
git clone https://github.com/oncode/mac-setup.git

Setup Clean Mac

Auto Installation

# run os configuration (requires sudo)
source "$BASH_STUFF/mac-setup/install/config.sh"

# install dev tools
source "$BASH_STUFF/mac-setup/install/dev.sh"

# install bash tools
source "$BASH_STUFF/mac-setup/install/bash.sh"

# install apps
source "$BASH_STUFF/mac-setup/install/apps.sh"

# restore backup
source "$BASH_STUFF/mac-setup/backup/restore.sh"

Manual Steps

  1. Install following Apps:

    • Photoshop / Illustrator / InDesign
    • Microsoft Office
    • Open Office (cask seems to be broken)
    • uTorrent
  2. Install Terminal profile

    • open $BASH_STUFF/mac-setup/install/Pro.terminal
    • Choose as default: "Shell" -> "Als Standard verwenden"
  3. Open programms, add licences and change configuration where needed (see also tweakings folder)

  4. Change wallpaper to wallpaper.jpg

  5. Install MacOS updates (if any available)

  6. Restart Mac

    • sudo shutdown -r now "Let the work begin..."
  7. Start first Time Machine Backup

    • tmutil startbackup

Update

There is an update script to keep the Mac fresh. Just run:

source "$BASH_STUFF/mac-setup/update.sh"

About

Personal setup for a clean Mac installation.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages