Skip to content

Instantly share code, notes, and snippets.

@madhavankca
madhavankca / fresh-install-of-osx.sh
Last active January 18, 2024 08:17 — forked from vraravam/fresh-install-of-osx.sh
Steps to get "up and running" with new Mac OSX
#!/usr/bin/env bash
# This script can be used to setup a macos machine based on Vijay's configurations. As of now, this script is idempotent and will restore your local setup to the same state if run multiple times.
# If you have the same files already present, it will prompt you whether to override or not
# file location: <anywhere> (just need to invoke it from that location)
# You can run this script using this command:
# curl -L https://gist.github.com/madhavankca/f31e8695cb07a1983ef1220d175a9235/raw -o fresh-install.sh; chmod +x ./fresh-install.sh; ./fresh-install.sh
USERNAME=${USERNAME:-$(whoami)}