Skip to content

Instantly share code, notes, and snippets.

@shivashishrs
shivashishrs / fresh-install-of-osx.sh
Created December 28, 2023 09:58 — 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/vraravam/04fc2296b25090ea848642afbce4d168/raw -o fresh-install.sh; chmod +x ./fresh-install.sh; ./fresh-install.sh
USERNAME=${USERNAME:-$(whoami)}