Setup MacOS for developers
MacOS machine ready for development.
Warning: Highly opinionated stuff ahead :)
curl -sL https://raw.githubusercontent.com/kdabir/mac-setup/main/setup.sh | bash -s -- init
git clone
or download the zip file of the project
This project can be downloaded/checked-out anywhere (directory), deleted and cloned again. It does not store any state
in the working directory (where it is checked out). The script is idempotent and hence can be run as many times whether
it is fresh machine or not.
If it’s a fresh machine, you won’t have developer tools and git installed, so start with this command first ./setup.sh init
help: ./setup.sh --help
dev-tools: ./setup.sh devtools
upgrade all tools: ./setup.sh updates
self-upgrade: git pull --rebase
stdin
is not a TTY.
Warning: Running in non-interactive mode because `stdin` is not a TTY.
==> Checking for `sudo` access (which may request your password)...
If you get this error then don’t run off using curl piped to bash, instead clone the repo
$ git clone https://github.com/kdabir/mac-setup.git
$ cd mac-setup
$ ./setup.sh init
Fork it off and have fun :)